Function at 0x1003b030
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1a8
push ebx
or eax, 0xffffffff
push ebp
xor ebp, ebp
push esi
mov esi, dword [esp + 0x1b8]
lea ecx, [esp + 0x60]
mov dword [esp + 0x68], ecx
push edi
mov edi, eax
mov dword [esp + 0x1c], eax
xor bl, bl
mov word [esp + 0x60], ax
mov ecx, 1
mov word [esp + 0x92], ax
mov eax, dword [esi + 2]
lea edx, [esp + 0x64]
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x68], edx
mov dword [esp + 0x64], 0x1007c5a4
mov byte [esp + 0x70], bl
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], ebp
mov word [esp + 0x88], bp
mov dword [esp + 0x8c], ecx
mov word [esp + 0x90], bp
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], ecx
mov eax, dword [eax + 0x14]
cmp eax, ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], ebp
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
je 0x1003b0f6
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x1c4]
mov edx, dword [esp + 0x1c0]
push ecx
push edx
push esi
call fcn.10037720
add esp, 0xc
cmp eax, ebp
mov dword [esp + 0x14], eax
jne 0x1003b14d
mov eax, dword [esp + 0x74]
cmp eax, ebp
mov dword [esp + 0x64], 0x1007c5a4
je 0x1003b134
push eax
call fcn.1005e0e0
add esp, 4
mov dword [esp + 0x74], ebp
lea ecx, [esp + 0x64]
call fcn.10060ec0
pop edi
pop esi
pop ebp
mov eax, 6
pop ebx
add esp, 0x1a8
ret
mov eax, dword [esp + 0x1c0]
push ebp
push eax
call fcn.1002d210
add esp, 8
test eax, eax
je 0x1003b1a1
mov ecx, dword [esp + 0x14]
call fcn.1002eb00
mov eax, dword [esp + 0x74]
cmp eax, ebp
mov dword [esp + 0x64], 0x1007c5a4
je 0x1003b188
push eax
call fcn.1005e0e0
add esp, 4
mov dword [esp + 0x74], ebp
lea ecx, [esp + 0x64]
call fcn.10060ec0
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x1a8
ret
mov ecx, dword [esi + 2]
mov eax, dword [ecx + 0x48]
cmp eax, ebp
je 0x1003b1b6
push eax
call fcn.10067ddf
add esp, 4
mov edi, eax
mov edx, dword [esi + 2]
mov eax, dword [edx + 0x44]
cmp eax, ebp
je 0x1003b1f0
push 0x1007c588
push eax
call fcn.10068d1f
add esp, 8
test eax, eax
jne 0x1003b1d6
mov bl, 1
jmp 0x1003b1f0
mov eax, dword [esi + 2]
mov ecx, dword [eax + 0x44]
push 0x1007c5dc
push ecx
call fcn.10068d1f
add esp, 8
test eax, eax
jne 0x1003b1f0
xor bl, bl
mov edx, dword [esi + 2]
mov eax, dword [edx + 0x3c]
cmp eax, ebp
je 0x1003b207
push eax
call fcn.10067ddf
add esp, 4
mov dword [esp + 0x20], eax
mov eax, dword [esi + 2]
mov eax, dword [eax + 0x80]
cmp eax, ebp
je 0x1003b221
push eax
call fcn.10067ddf
add esp, 4
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x40]
lea edx, [esp + 0x40]
lea eax, [esp + 0x40]
push ecx
lea ecx, [esp + 0x68]
mov word [esp + 0x64], di
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], 0x1007c5a4
mov byte [esp + 0x50], bl
mov dword [esp + 0x54], ebp
call fcn.1003aff0
mov eax, dword [esp + 0x50]
cmp eax, ebp
mov dword [esp + 0x40], 0x1007c5a4
je 0x1003b279
push eax
call fcn.1005e0e0
add esp, 4
mov dword [esp + 0x50], ebp
lea ecx, [esp + 0x40]
call fcn.10060ec0
mov edx, dword [esi + 2]
mov eax, dword [edx + 0x5c]
mov cx, word [esp + 0x20]
mov dx, word [esp + 0x1c]
mov esi, dword [esp + 0x1c4]
mov dword [esp + 0x78], eax
cmp dword [esp + 0x1d4], ebp
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x84], ebp
mov word [esp + 0x88], cx
mov word [esp + 0x92], dx
jne 0x1003b351
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c0]
push eax
push esi
lea ecx, [esp + 0x60]
push ecx
push edx
call fcn.1002ef60
add esp, 0x10
cmp eax, ebp
je 0x1003b351
mov ecx, dword [esp + 0x1c8]
cmp ecx, ebp
je 0x1003b2f5
mov dword [ecx], 1
mov ecx, dword [esp + 0x1d0]
cmp ecx, ebp
je 0x1003b304
mov dword [ecx], eax
jmp 0x1003b30d
push eax
call fcn.1002eca0
add esp, 4
push 0x100895ec
push esi
call fcn.10037ed0
mov eax, dword [esp + 0x7c]
add esp, 8
cmp eax, ebp
mov dword [esp + 0x64], 0x1007c5a4
je 0x1003b338
push eax
call fcn.1005e0e0
add esp, 4
mov dword [esp + 0x74], ebp
lea ecx, [esp + 0x64]
call fcn.10060ec0
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x1a8
ret
cmp dword [esi + 0xc], ebp
jl 0x1003bbdc
mov ebx, dword [esp + 0x1c8]
cmp ebx, ebp
je 0x1003b367
mov dword [ebx], ebp
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x1003b385
mov esi, eax
mov edi, 0x1007a668
mov ecx, 1
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x1003b492
mov ecx, dword [esp + 0x1bc]
mov eax, dword [ecx + 2]
mov ecx, dword [eax + 8]
cmp ecx, ebp
jne 0x1003b3b5
mov ecx, dword [eax + 0xc]
cmp ecx, ebp
je 0x1003b405
lea edx, [esp + 0xb8]
push edx
push ecx
call fcn.100638c0
add esp, 8
lea ecx, [esp + 0xb8]
cmp dword [esp + 0x1d4], ebp
mov esi, dword [esp + 0x1c4]
mov edi, dword [esp + 0x14]
jne 0x1003b44f
mov edx, dword [esp + 0x1c0]
push edi
mov dword [esp + 0x5c], ecx
push esi
lea ecx, [esp + 0x60]
push ecx
push edx
call fcn.1002ef60
add esp, 0x10
cmp eax, ebp
je 0x1003b44f
cmp ebx, ebp
je 0x1003b3f6
mov dword [ebx], 1
mov ecx, dword [esp + 0x1d0]
cmp ecx, ebp
je 0x1003b431
mov dword [ecx], eax
jmp 0x1003b43a
cmp dword [eax + 0x1c], ebp
jne 0x1003b492
mov ecx, dword [esp + 0x14]
call fcn.1002eb00
mov eax, dword [esp + 0x1c4]
push 0x100896e8
push eax
call fcn.10037ed0
add esp, 8
jmp 0x1003bbe5
push eax
call fcn.1002eca0
add esp, 4
push 0x100895ec
push esi
call fcn.10037ed0
add esp, 8
mov ecx, edi
jmp 0x1003bbe0
cmp dword [esi + 0xc], ebp
jl 0x1003b448
mov dword [esp + 0x10], ebp
mov dword [esp + 0x2c], ebp
mov ecx, dword [esp + 0x1bc]
mov eax, dword [ecx + 2]
mov edi, dword [eax + 0xc]
cmp edi, ebp
mov esi, dword [eax + 0x1c]
mov ebx, dword [eax + 0x74]
mov dword [esp + 0x34], esi
mov dword [esp + 0xb4], edi
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x1c], ebp
jne 0x1003b4f5
mov dword [esp + 0x18], ebp
jmp 0x1003b555
mov ebx, dword [esp + 0x10]
cmp ebx, ebp
je 0x1003b458
mov edi, 0x1007a668
mov esi, ebx
mov ecx, 1
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x1003b458
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003b4b1
sub eax, edx
push 0x22
push ebx
mov dword [esp + 0x34], eax
call fcn.10068350
add esp, 8
test eax, eax
jne 0x1003b45c
push 0x27
push ebx
call fcn.10068350
add esp, 8
test eax, eax
jne 0x1003b45c
add dword [esp + 0x2c], 2
mov dword [esp + 0x9c], 1
jmp 0x1003b45c
mov eax, edi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003b500
sub eax, edx
inc eax
push 0x22
push edi
mov dword [esp + 0x20], eax
call fcn.10068350
add esp, 8
test eax, eax
jne 0x1003b53c
push 0x27
push edi
call fcn.10068350
add esp, 8
test eax, eax
jne 0x1003b53c
add dword [esp + 0x18], 2
mov dword [esp + 0xa4], 1
cmp ebx, ebp
je 0x1003b555
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003b545
sub eax, edx
add eax, 8
mov dword [esp + 0x1c], eax
cmp esi, ebp
je 0x1003b56f
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003b560
sub eax, edx
mov dword [esp + 0x30], eax
jne 0x1003b5a9
cmp edi, ebp
je 0x1003b587
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003b578
sub eax, edx
mov dword [esp + 0x30], eax
jne 0x1003b5a9
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x1003bbc7
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003b596
sub eax, edx
mov dword [esp + 0x30], eax
je 0x1003bbc7
mov esi, dword [esp + 0x1bc]
mov edx, dword [esi + 2]
mov eax, dword [edx + 0x24]
cmp eax, ebp
je 0x1003b5d0
push 0x1007c588
push eax
call fcn.10068d1f
add esp, 8
test eax, eax
mov dword [esp + 0x38], ebp
jne 0x1003b5d8
mov dword [esp + 0x38], 4
mov esi, dword [esi + 2]
mov eax, dword [esi + 0x10]
cmp eax, ebp
je 0x1003b604
cmp dword [esp + 0x18], ebp
jbe 0x1003b604
mov edx, eax
mov dword [esp + 0xb0], edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003b5f4
sub eax, edi
inc eax
mov dword [esp + 0x20], eax
jmp 0x1003b611
xor edx, edx
mov dword [esp + 0xb0], edx
mov dword [esp + 0x20], ebp
mov eax, dword [esp + 0x18]
xor ebx, ebx
cmp eax, ebp
mov dword [esp + 0x28], ebx
jbe 0x1003b680
call fcn.1003acf0
test al, al
jne 0x1003b680
mov edi, dword [esi + 8]
cmp edi, ebp
mov dword [esp + 0x3c], edi
je 0x1003b680
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003b638
sub eax, edx
mov ebx, eax
mov dword [esp + 0x28], ebx
je 0x1003b680
push 0x22
add ebx, 6
push edi
mov dword [esp + 0x30], ebx
call fcn.10068350
add esp, 8
test eax, eax
jne 0x1003b680
push 0x27
push edi
call fcn.10068350
add esp, 8
test eax, eax
jne 0x1003b680
add ebx, 2
mov dword [esp + 0x28], ebx
mov dword [esp + 0xa8], 1
mov esi, dword [esp + 0x34]
cmp esi, ebp
jne 0x1003b6c9
mov esi, str.dbeng8
push 0x105
mov dword [esp + 0x44], esi
call fcn.1005e1a0
mov edi, eax
add esp, 4
cmp edi, ebp
mov dword [esp + 0x24], edi
je 0x1003b6d1
push 0x104
push edi
push str.dbeng8.exe
call fcn.1005ea00
add esp, 0xc
test eax, eax
jle 0x1003b6d1
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ebp
jmp 0x1003b6d5
mov edi, dword [esp + 0x24]
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], ebp
cmp esi, ebp
je 0x1003bb1f
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
add ebx, eax
mov eax, dword [esp + 0x1c]
add ebx, edx
add ebx, ecx
mov ecx, dword [esp + 0x2c]
add ebx, eax
lea edx, [ebx + ecx + 0x23]
lea eax, [esp + 0x40]
mov dword [esp + 0x30], edx
mov dword [esp + 0xac], eax
lea esp, [esp]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003b715
mov ecx, dword [esp + 0x1c4]
sub eax, edx
push 0
push ecx
mov edi, eax
call fcn.1002ca10
mov edx, dword [esp + 0x38]
add edx, edi
push edx
call fcn.1005e1a0
mov ebx, eax
add esp, 0xc
test ebx, ebx
mov dword [esp + 0x34], ebx
je 0x1003bad7
push 0x10078e9c
push esi
call fcn.10067df0
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x1003b772
mov edx, ebx
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x1003b766
jmp 0x1003b7b6
mov edi, ebp
sub edi, esi
push edi
push esi
push ebx
call fcn.10068e70
lea eax, [ebp + 2]
add esp, 0xc
mov byte [edi + ebx], 0
mov ecx, eax
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1003b790
mov edi, ebx
sub eax, ecx
mov esi, ecx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1003b7a0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1003b7d9
mov edi, ebx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1003b7c1
mov eax, dword [str.__ga]
mov dword [edi], eax
mov cl, byte [0x1007c7c4]
mov byte [edi + 4], cl
mov eax, dword [esp + 0x2c]
test eax, eax
jbe 0x1003b882
push 0x1007c7bc
push ebx
call fcn.10067df0
add esp, 8
test eax, eax
jne 0x1003b882
mov edi, ebx
dec edi
mov edi, edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1003b800
mov edx, dword [str.__n]
mov ebp, dword [esp + 0x9c]
test ebp, ebp
mov dword [edi], edx
mov al, byte [0x1007c7b8]
mov byte [edi + 4], al
je 0x1003b838
mov edi, ebx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1003b826
mov cx, word [0x1007bca4]
mov word [edi], cx
mov eax, dword [esp + 0x10]
mov edx, eax
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003b840
mov edi, ebx
sub eax, edx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1003b850
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
test ebp, ebp
rep movsb byte es:[edi], byte [esi]
je 0x1003b882
mov edi, ebx
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1003b870
mov dx, word [0x1007bca4]
mov word [edi], dx
mov eax, dword [esp + 0x18]
test eax, eax
jbe 0x1003b991
mov edi, ebx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1003b891
mov ebp, dword [esp + 0xa4]
test ebp, ebp
mov ax, word [0x1007c0b0]
mov word [edi], ax
je 0x1003b8c2
mov edi, ebx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1003b8b0
mov cx, word [0x1007bca4]
mov word [edi], cx
mov eax, dword [esp + 0xb4]
mov edx, eax
jmp 0x1003b8d0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003b8d0
mov edi, ebx
sub eax, edx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1003b8e0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
test ebp, ebp
rep movsb byte es:[edi], byte [esi]
je 0x1003b912
mov edi, ebx
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1003b900
mov dx, word [0x1007bca4]
mov word [edi], dx
mov eax, dword [esp + 0x1c]
test eax, eax
jbe 0x1003b991
mov edi, ebx
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1003b920
mov eax, dword [str.__ek__]
mov dword [edi], eax
mov cx, word [0x1007c7b0]
mov eax, dword [esp + 0xa0]
mov word [edi + 4], cx
mov dl, byte [0x1007c7b2]
mov byte [edi + 6], dl
mov ecx, eax
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1003b950
mov edi, ebx
sub eax, ecx
mov esi, ecx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1003b960
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1003b980
mov ax, word [0x1007bca4]
mov word [edi], ax
mov eax, dword [esp + 0x20]
test eax, eax
jbe 0x1003b9e6
mov edi, ebx
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1003b9a0
mov cx, word [0x1007c0b0]
mov eax, dword [esp + 0xb0]
mov word [edi], cx
mov ecx, eax
jmp 0x1003b9c0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1003b9c0
mov edi, ebx
sub eax, ecx
mov esi, ecx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1003b9d0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x28]
test eax, eax
jbe 0x1003ba75
mov edi, ebx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1003b9f5
mov edx, dword [str.__n]
mov ebp, dword [esp + 0xa8]
test ebp, ebp
mov dword [edi], edx
mov al, byte [0x1007c7b8]
mov byte [edi + 4], al
je 0x1003ba32
mov edi, ebx
dec edi
jmp 0x1003ba20
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1003ba20
mov cx, word [0x1007bca4]
mov word [edi], cx
mov eax, dword [esp + 0x3c]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003ba38
mov edi, ebx
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1003ba44
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
test ebp, ebp
rep movsb byte es:[edi], byte [esi]
je 0x1003ba75
mov edi, ebx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1003ba63
mov dx, word [0x1007bca4]
mov word [edi], dx
mov eax, dword [esp + 0x1d8]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c4]
mov esi, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1c8]
push edx
push eax
push ecx
push esi
call fcn.100377e0
mov ebx, eax
add esp, 0x18
test ebx, ebx
je 0x1003bb0a
push esi
call fcn.1005e0e0
mov eax, dword [esp + 0xb0]
mov esi, dword [eax + 4]
add eax, 4
add esp, 4
test esi, esi
mov dword [esp + 0xac], eax
jne 0x1003b710
mov edi, dword [esp + 0x24]
xor ebp, ebp
jmp 0x1003bb26
mov ecx, dword [esp + 0x14]
call fcn.1002eb00
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1003baf1
push eax
call fcn.1005e0e0
add esp, 4
lea ecx, [esp + 0x58]
call fcn.1002eed0
pop edi
pop esi
pop ebp
mov eax, 6
pop ebx
add esp, 0x1a8
ret
mov edx, dword [esp + 0x34]
push edx
call fcn.1005e0e0
mov edi, dword [esp + 0x28]
add esp, 4
xor ebp, ebp
jmp 0x1003bb26
mov ebx, dword [esp + 0xa0]
cmp edi, ebp
je 0x1003bb33
push edi
call fcn.1005e0e0
add esp, 4
mov eax, dword [esp + 0x10]
cmp eax, ebp
jne 0x1003bb70
cmp dword [esp + 0x28], ebp
jbe 0x1003bb47
mov eax, dword [esp + 0x3c]
jmp 0x1003bb70
mov ecx, dword [esp + 0x1bc]
mov edx, dword [ecx + 2]
mov ecx, dword [edx + 0xc]
cmp ecx, ebp
je 0x1003bb70
lea eax, [esp + 0xb8]
push eax
push ecx
call fcn.100638c0
add esp, 8
lea eax, [esp + 0xb8]
mov edx, dword [esp + 0x1cc]
cmp edx, ebp
je 0x1003bb8b
cmp eax, ebp
je 0x1003bb8b
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x1003bb81
mov ecx, dword [esp + 0x14]
call fcn.1002eb00
mov eax, dword [esp + 0x74]
cmp eax, ebp
mov dword [esp + 0x64], 0x1007c5a4
je 0x1003bbb1
push eax
call fcn.1005e0e0
add esp, 4
mov dword [esp + 0x74], ebp
lea ecx, [esp + 0x64]
call fcn.10060ec0
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x1a8
ret
mov ecx, dword [esp + 0x1c4]
push 0x10089870
push ecx
call fcn.10037ed0
add esp, 8
mov ecx, dword [esp + 0x14]
call fcn.1002eb00
lea ecx, [esp + 0x58]
call fcn.1002eed0
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x1a8
ret