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

Disassembly:
sub esp, 0x38
movzx eax, byte [esp + 0x44]
mov edx, dword [0x10053438]
mov ecx, dword [esp + 0x68]
mov dword [esp + 4], eax
push ebx
mov ebx, dword [esp + 0x60]
lea eax, [edx + 0x1acd]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x5c]
push ebp
push esi
mov esi, dword [esp + 0x70]
mov ebp, 0x192b
push edi
mov edi, dword [0x1005341c]
mov dword [esp + 0x18], edi
mov eax, dword [eax + esi*4]
inc esi
mov dword [esp + 0x20], eax
mov eax, dword [0x10053434]
mov edi, dword [esp + 0x58]
mov dword [esp + 0x38], esi
mov dword [esp + 0x10], ebp
mov ecx, dword [ecx + eax*4]
dec eax
mov dword [0x10053434], eax
mov eax, dword [ebx + esi*4]
inc esi
mov dword [esp + 0x24], eax
mov eax, dword [0x100533e4]
mov dword [esp + 0x34], ecx
mov cx, word [0x10053410]
mov dword [esp + 0x74], esi
mov al, byte [eax + esi*4]
mov byte [esp + 0x54], al
mov eax, dword [0x100533d4]
mov eax, dword [eax + 0x4300]
mov dword [esp + 0x30], eax
movzx eax, cx
inc cx
imul eax, eax, 0x1d0b
mov word [0x10053410], cx
mov dword [esp + 0x2c], eax
lea eax, [edi + 0xb7c]
movzx eax, ax
inc edi
mov dword [esp + 0x1c], eax
mov eax, dword [0x10053448]
mov dword [esp + 0x58], edi
mov eax, dword [eax + 0x3300]
mov dword [esp + 0x3c], eax
mov eax, dword [0x10053418]
cmp eax, dword [ebx + 0x1744]
je 0x100039d3
cmp dword [0x1005342c], 0x1737
jne 0x10003a21
mov ecx, dword [esp + 0x78]
add edx, edx
inc eax
mov cl, byte [ecx + edx*8]
or byte [0x1005340e], cl
mov ecx, dword [esp + 0x68]
mov dword [0x10053418], eax
mov eax, dword [ecx + eax*4]
cdq
idiv dword [0x1005344c]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x50]
mov dword [0x1005344c], edx
mov edx, esi
shl edx, 4
mov ecx, dword [ecx + 0x7ab]
add edx, dword [0x10053414]
mov eax, dword [eax + ecx*4]
add dword [edx], eax
mov cx, word [0x10053410]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x28]
mov esi, edx
movzx eax, byte [eax + 0x814]
cmp edx, eax
jne 0x10003a9b
mov bl, byte [esp + 0x54]
mov edi, edx
sub bl, 0x7e
imul edi, edx
mov eax, dword [esp + 0x70]
xor edx, edx
mov byte [esi + eax], bl
movzx eax, byte [0x100533ff]
imul eax, esi
mov ecx, dword [0x10053414]
mov dword [0x100533d8], edi
add edi, dword [esp + 0x28]
div ebp
movzx eax, word [0x1005343c]
imul eax, dword [ecx + esi*4]
mov ebp, edx
or eax, esi
inc esi
or dword [ecx + 0x4de8], eax
mov eax, dword [esp + 0x4c]
movzx eax, byte [eax + 0x814]
cmp esi, eax
je 0x10003a42
mov cx, word [0x10053410]
mov edi, dword [esp + 0x58]
mov dword [esp + 0x10], edx
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x18]
mov ebx, dword [0x100533f4]
inc edx
mov dword [esp + 0x18], edx
lea eax, [eax + esi*2]
movzx eax, byte [esi + eax]
and eax, edx
mov dword [esp + 0x44], eax
mov eax, dword [0x100533e0]
mov ebp, dword [eax + ebx*4]
dec ebx
movzx eax, cx
sub edi, eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x58], edi
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 0x34]
mov ax, word [eax + 0x34e2]
add ax, word [0x10053420]
movzx edi, ax
mov eax, dword [0x100533f0]
mov esi, eax
dec eax
mov dword [0x100533f4], ebx
mov dword [0x100533f0], eax
mov eax, dword [esp + 0x14]
mov edx, dword [eax + ebx*4 + 0x7ab]
dec ebx
mov eax, dword [esp + 0x24]
add edx, eax
add eax, eax
mov ecx, dword [ecx + eax*8]
mov eax, dword [esp + 0x10]
add ecx, 0x180d
dec eax
mov dword [esp + 0x10], eax
add eax, eax
mov eax, dword [ebp + eax*8]
mov ebp, dword [esp + 0x40]
add eax, 0x50
push eax
push ecx
push edx
push 0x196a
push esi
push edi
mov edi, dword [esp + 0x3c]
imul eax, edi, 0x67e
mov dword [0x100533f4], ebx
push eax
push dword [esp + 0x74]
push ebp
mov ebp, dword [esp + 0x98]
imul eax, ebp, 0x1480
push eax
push dword [esp + 0x6c]
call fcn.1000c490
mov ecx, dword [0x100533f4]
add esp, 0x2c
mov edx, dword [esp + 0x68]
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x6c]
mov dword [edx + ecx*4], eax
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x20]
or byte [esi + eax], 0x95
dec esi
mov eax, dword [0x10053424]
mov ebx, dword [ebx + ebp*4]
add eax, eax
dec ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x74], ebp
cmp ebx, dword [ecx + eax*8]
jae 0x10003ce0
mov eax, dword [esp + 0x14]
lea ebp, [ecx + ebx*4]
mov ecx, dword [esp + 0x1c]
lea edx, [eax + eax*2]
mov eax, ebx
add edx, edx
imul eax, edi
mov dword [esp + 0x60], edx
mov dword [esp + 0x6c], eax
nop dword [eax]
imul eax, dword [esp + 0x18]
add ecx, 0x1c0b
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x2c]
mov byte [0x1005340e], 0xa8
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + edi*4]
imul eax, dword [esp + 0x3c]
mov dword [esi + edi*4], eax
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x10]
mov byte [ebx + eax], bl
mov eax, dword [0x1005341c]
mov dword [edi + eax*4], ebx
mov eax, dword [0x10053444]
movzx edi, word [edx + eax]
cmp edi, ebx
jg 0x10003caf
mov al, bl
xor al, byte [esp + 0x54]
mov byte [esp + 0x58], al
nop
mov edx, dword [esp + 0x70]
add ecx, 0xffff
mov dword [ebp], 0xf03
mov dword [esp + 0x1c], ecx
mov byte [esi + edx], al
mov eax, edi
sub eax, dword [0x100533fc]
movzx edx, cx
imul edx, dword [0x100533dc]
movzx ecx, ax
mov word [0x100533fc], ax
add edx, 0x1a79
mov dword [0x10053424], edx
cmp ecx, 0x3d4
jae 0x10003ca0
mov esi, dword [0x10053444]
mov eax, 0x3d4
sub eax, ecx
mov ecx, 0x14a4
sub cx, word [esi + 0x3816]
mov word [0x10053408], cx
sub eax, 1
jne 0x10003c84
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
inc edi
mov al, byte [esp + 0x58]
cmp edi, ebx
jle 0x10003c30
jmp 0x10003cb5
mov edx, dword [0x10053424]
mov esi, dword [esp + 0x20]
add edx, edx
mov eax, dword [esp + 0x6c]
inc ebx
mov edi, dword [esp + 0x24]
add ebp, 4
add eax, edi
cmp ebx, dword [esi + edx*8]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x6c], eax
jb 0x10003bd0
mov ebp, dword [esp + 0x74]
mov ecx, esi
mov eax, dword [esp + 0x30]
xor edx, edx
mov ebx, dword [esp + 0x14]
movzx esi, byte [esp + 0x54]
push 0xbaf
lea eax, [eax + eax*2]
add dword [ecx + eax*4], 0x869
mov eax, dword [esp + 0x6c]
push esi
sub edi, dword [eax + ebx*4]
mov dword [eax + ebx*4], edi
mov eax, 0x113
div dword [0x10053438]
mov eax, dword [esp + 0x6c]
mov byte [esp + 0x60], dl
movzx ecx, byte [ebx + eax + 8]
mov eax, dword [0x10053420]
add eax, 0x1b86
push eax
mov eax, dword [esp + 0x40]
push 0x1b85
push ecx
push dword [eax + 0x53e4]
push 0x5d4
push dword [esp + 0x74]
push 0x64b
call fcn.1000d740
movzx ecx, word [0x10053410]
add esp, 0x24
mov word [0x10053450], ax
mov eax, dword [0x100533d4]
movzx edx, word [eax + ecx*8]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
mov word [ecx*4 + 0x1d73], ax
mov eax, dword [esp + 0x18]
add eax, 0x121f
cmp eax, ebx
jne 0x10003d93
mov eax, 0x1d7d
cmp word [0x10053410], ax
jbe 0x10003da8
mov eax, dword [0x10053434]
mov edi, dword [esp + 0x38]
movzx eax, word [edi + eax*2]
cmp dword [0x1005342c], eax
ja 0x10003e0b
mov al, byte [0x1005340a]
mov edi, dword [esp + 0x78]
dec al
mov byte [0x1005340a], al
movzx eax, al
mov dword [edi + eax*4], 0x97f
mov edi, 0x119a
mov eax, dword [0x10053444]
mov word [eax + ecx*2], di
mov eax, dword [esp + 0x3c]
mov ecx, dword [0x10053428]
inc eax
and eax, 0x37e
mov dword [0x100533f4], 0x3d4
xor dword [0x100533d8], eax
inc ecx
mov eax, dword [esp + 0x2c]
mov dword [0x10053428], ecx
mov dword [eax + ecx*4], 0x1ffd
mov ecx, dword [esp + 0x5c]
or word [ecx + edx*8 + 6], bp
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret