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

Disassembly:
sub esp, 0x44
mov eax, dword [0x1004d3e4]
push ebx
push ebp
push esi
mov esi, dword [0x1004d434]
mov ebx, ecx
push edi
mov edi, dword [0x1004d408]
inc edi
mov dword [esp + 0x18], edx
mov edx, dword [0x1004d40c]
mov ebp, dword [0x1004d3f0]
mov dword [esp + 0x14], ebx
lea ecx, [eax + edi]
dec eax
mov dword [0x1004d3e4], eax
dec edi
mov al, byte [edx + 0x6074]
xor edx, edx
mov byte [esp + 0x12], al
mov eax, esi
div dword [esp + 0x5c]
mov dword [esp + 0x4c], ecx
dec esi
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x40], edx
mov dword [0x1004d434], esi
mov dword [0x1004d408], edi
lea eax, [ecx - 0xbc7]
inc ecx
mov dword [esp + 0x30], eax
imul eax, dword [0x1004d3b4], 0x1e75
mov dword [esp + 0x70], ecx
mov dword [esp + 0x44], eax
movzx eax, byte [0x1004d3c4]
mov dword [esp + 0x1c], eax
mov al, byte [0x1004d3e0]
mov byte [esp + 0x13], al
mov al, byte [0x1004d3c6]
mov byte [esp + 0x11], al
inc al
mov byte [0x1004d3c6], al
mov eax, dword [0x1004d3e8]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x64]
mov eax, dword [eax + ebp*8 + 0x34]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x50], eax
inc eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x60]
mov edx, dword [eax + ebp*8]
mov dword [esp + 0x20], edx
cmp edx, 0x62a
jne 0x10003a3e
lea eax, [ebx + 0xf]
mov edi, 0x2369
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
sub ecx, eax
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x28], edi
lea esi, [eax + 0xc54]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x24], esi
mov ax, word [0x1004d400]
mov ebp, 0xffff
add ax, bp
movzx ecx, ax
mov word [0x1004d400], ax
sub dl, byte [ecx + ebx]
mov byte [ecx + ebx], dl
movzx eax, byte [ecx + 0x5c2]
mov ecx, dword [esp + 0x34]
mov ebp, dword [edi]
mov edi, dword [0x1004d3d4]
mov dword [esp + 0x3c], eax
mov eax, dword [0x1004d3e0]
movzx ebx, word [0x1004d428]
movzx edx, byte [ecx + eax]
movzx eax, word [0x1004d3ec]
movzx ecx, word [0x1004d440]
mov edi, dword [edi + eax*4]
mov eax, dword [esp + 0x38]
imul edi, dword [esp + 0x20]
movzx esi, byte [eax + esi]
movzx eax, byte [0x1004d3c6]
imul eax, dword [esp + 0x68]
push eax
push esi
push edi
push ecx
push edx
push ebx
push ecx
mov ecx, dword [esp + 0x58]
lea edx, [ebp + 0x1ed3]
call fcn.10007070
mov ebx, dword [esp + 0x90]
add esp, 0x1c
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
movzx eax, bx
add edi, 4
add ebx, 0xffff
mov dword [esp + 0x28], edi
movzx ecx, word [ebp]
add ebp, 2
mov dword [esp + 0x74], ebx
movzx esi, byte [edx + eax*2]
movzx eax, word [0x1004d430]
mov edx, dword [0x1004d418]
or esi, eax
sub esi, dword [0x1004d434]
mov eax, 0x41e6
mov dword [esp + 0x24], ebp
add esi, dword [eax]
mov eax, 0x5ba
mov dword [0x1004d434], esi
movzx eax, byte [eax]
mov dword [edx + eax*4], ecx
mov edx, dword [esp + 0x20]
inc edx
mov dword [esp + 0x20], edx
cmp edi, 0x2369
jne 0x10003a30
mov ebx, dword [esp + 0x14]
mov esi, ebp
jmp 0x1000392a
mov edi, dword [0x1004d408]
mov ebp, dword [0x1004d3f0]
jmp 0x10003a46
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x74], ebx
mov eax, dword [esp + 0x1c]
xor edx, edx
mov ecx, dword [esp + 0x64]
xor edi, 0xbd8
movzx eax, ax
mov dword [0x1004d408], edi
lea edi, [ebp*4]
mov dword [esp + 0x3c], edi
mov eax, dword [ecx + eax*8]
div dword [0x1004d3f4]
movzx ecx, byte [esp + 0x11]
movzx edx, al
movzx eax, byte [0x1004d3c6]
movzx ecx, byte [ecx*4 + 0x196]
imul edx, ecx
movzx ecx, dl
mov edx, dword [esp + 0x1c]
imul ecx, eax
add edx, 0xffff
mov eax, dword [0x1004d438]
mov dword [esp + 0x1c], edx
mov byte [0x1004d3c6], cl
mov ecx, dword [0x1004d3d0]
add dword [edi + eax], ecx
inc ecx
mov eax, dword [0x1004d40c]
mov edi, dword [0x1004d43c]
mov dword [0x1004d3d0], ecx
movzx ecx, word [0x1004d430]
cmp ecx, dword [eax + 0x68d8]
jne 0x10003d2f
cmp ecx, edi
jne 0x10003d2f
mov di, word [0x1004d400]
inc ebx
mov ecx, dword [esp + 0x64]
xor edx, edx
movzx eax, di
inc esi
mov dword [esp + 0x74], ebx
inc di
movzx ebx, bx
mov word [0x1004d400], di
mov ecx, dword [ecx + eax*4 + 0x20]
xor ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x60], ebx
push dword [esp + 0x60]
inc dword [0x1004d3f0]
movzx eax, word [eax + ebx*2]
sub ecx, eax
mov dword [0x1004d434], esi
mov eax, 0x1f27
and dword [0x1004d3e8], ecx
div dword [0x1365]
mov ecx, dword [0x1004d3c8]
mov dword [esp + 0x3c], eax
movzx edx, di
mov edi, dword [esp + 0x34]
movzx eax, byte [edx + ecx]
xor edx, edx
or eax, 0x106d
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x44]
movzx ecx, byte [eax + ebp + 0x1b]
mov ebp, dword [edi + 0x314c]
mov eax, dword [esp + 0x5c]
sub ebp, ecx
mov ecx, 0xda5
movzx eax, word [eax + ebx*4]
div ecx
mov eax, dword [0x1004d404]
mov ecx, dword [esp + 0x64]
mov ebx, edx
xor edx, edx
movzx ecx, byte [ecx + eax]
mov eax, dword [esp + 0x18]
movzx eax, byte [eax + 0x1481]
div ecx
mov ecx, dword [esp + 0x68]
mov eax, 0xa6d
mov eax, dword [eax]
mov edi, dword [ecx + eax*4]
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 0x8a6]
movzx eax, word [0x1004d414]
or ecx, 0xca2
add eax, esi
mov esi, dword [esp + 0x78]
push eax
push 0xa20
push ecx
mov ecx, dword [esp + 0x48]
inc esi
push edi
push dword [0x1004d3bc]
push edx
mov edx, dword [esp + 0x58]
push ebx
push ebp
push 0x1d7e
call fcn.10008c40
mov ebp, dword [esp + 0x98]
add esp, 0x28
inc word [0x1004d400]
movzx ecx, si
add esi, 0xffff
mov byte [esp + 0x60], al
movzx ecx, byte [ecx + ebp]
cmp ecx, dword [esp + 0x68]
jg 0x10003c36
mov edx, dword [0x1004d40c]
movzx ecx, si
lea eax, [ecx + ecx*2]
mov ecx, dword [esp + 0x18]
movzx ecx, word [ecx + eax*2]
mov eax, 0x5ba
movzx eax, byte [eax]
cmp ecx, dword [edx + eax*4]
jae 0x10003ebf
mov edx, dword [esp + 0x44]
lea eax, [esi - 0x1a0f]
mov ebx, dword [esp + 0x64]
inc edx
mov ecx, dword [esp + 0x5c]
push eax
mov eax, 0x4e407f29
dec ecx
imul ecx, dword [ebx + 0x6c60]
mul edx
shr edx, 0xa
call fcn.1000c3a0
movzx edi, byte [esp + 0x64]
mov ecx, dword [0x1004d3f0]
mov edx, edi
mov dword [0x1004d43c], eax
sub edx, eax
mov eax, dword [0x1004d3f4]
imul eax, dword [0x1004d428]
mov ecx, dword [ebx + ecx*4]
movzx eax, ax
push eax
call fcn.1000c3a0
mov word [0x1004d414], ax
mov ecx, 0xa6d
mov eax, dword [esp + 0x20]
xor edx, edx
movzx esi, si
add esp, 8
dec dword [0x1004d410]
mov ecx, dword [ecx]
movzx ebx, word [eax + edi*2]
imul ebx, esi
movzx edi, byte [ecx + ebp]
movzx ecx, word [eax + ecx*2]
mov eax, esi
div ecx
xor edi, dword [0x6c6e]
mov edx, dword [0x1004d420]
push eax
mov eax, dword [esp + 0x4c]
push dword [eax + esi*4]
push edi
push 0xaf27
push 0x92
push ebx
push ecx
mov ecx, dword [0x1004d3f8]
call fcn.10007070
mov edx, dword [esp + 0x30]
mov esi, 0x45a
mov edi, dword [esp + 0x48]
add esp, 0x1c
mov ecx, dword [esi]
mov dword [ecx*4 + 0x4ce], eax
movzx eax, word [0x1004d400]
mov cl, byte [eax + edx]
mov eax, dword [esi]
add cl, byte [0x1004d3f0]
or cl, byte [eax + edi + 4]
movzx eax, word [0x1004d428]
pop edi
pop esi
pop ebp
mov byte [0x1004d3ee], cl
pop ebx
add esp, 0x44
ret
mov ecx, dword [esp + 0x18]
movzx eax, dx
movzx edx, bx
movzx eax, word [ecx + eax*2]
or eax, edi
mov ecx, dword [0x1004d3d4]
mov dword [esp + 0x5c], eax
mov eax, dword [0x1004d3dc]
mov edi, dword [esp + 0x2c]
lea eax, [eax + ebp*2]
movzx ebp, byte [eax + ebp]
mov eax, 0xa6d
movzx ebx, byte [edi + edx*2]
or ebp, esi
mov eax, dword [eax]
xor ebx, dword [ecx + eax*4]
movzx ecx, word [0x1004d400]
mov eax, dword [esp + 0x14]
lea eax, [eax + ecx*2]
movzx edi, byte [ecx + eax + 0x26]
mov eax, dword [esp + 0x58]
movzx ecx, byte [eax + 0x24a8]
movzx eax, byte [esp + 0x12]
xor ecx, eax
lea eax, [edx + edx*2]
mov edx, dword [esp + 0x60]
push ecx
push dword [edx + eax*4]
movzx eax, word [0x1004d3ec]
cdq
idiv dword [0x1004d3f4]
push ecx
push edx
push edi
mov edi, dword [0x1004d3b8]
mov eax, 0x68168169
mul edi
mov ecx, dword [esp + 0x70]
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [0x1004d3c0]
or edx, dword [0x1004d3b4]
shr eax, 7
imul eax, eax, 0xb6
push ebx
push ebp
sub edi, eax
push edi
sub esp, 8
call fcn.10003090
mov cx, word [0x1004d400]
add esp, 0x28
mov ebp, dword [esp + 0x64]
inc cx
mov edx, dword [esp + 0x58]
movzx ebx, cx
mov word [0x1004d400], cx
mov ecx, dword [esp + 0x74]
movzx edi, cx
mov dword [0x1004d3e8], eax
movzx ecx, word [ebp + edi*4 + 0xc]
add word [edx + ebx*2], cx
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x3c]
and dword [ecx + eax*4 + 4], 0xb66
mov eax, esi
mov ecx, dword [0x1004d40c]
sub eax, dword [edx + ecx]
xor eax, dword [ebp + edi*4]
add dword [ecx + ebx*8 + 8], eax
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x30]
movzx ecx, word [eax + 0x247c]
mov eax, dword [0x1004d420]
cdq
idiv ecx
mov eax, dword [esp + 0x1c]
mov ebp, edx
movzx edx, ax
mov eax, dword [esp + 0x4c]
mov edx, dword [edi + edx*4]
mov ecx, dword [0x1004d3f8]
and ecx, dword [0x1004d3e4]
mov eax, dword [eax + 0x49c0]
mov edi, dword [0x1004d3f4]
and eax, esi
add edi, dword [0x1004d408]
dec esi
add edx, dword [esp + 0x68]
push eax
mov al, byte [esp + 0x17]
push ecx
push edi
movzx eax, al
push eax
mov eax, dword [esp + 0x60]
mov dword [0x1004d434], esi
push dword [eax + ebx*4]
push dword [0x1004d3d0]
push ecx
mov ecx, ebp
call fcn.10007070
movzx ecx, word [0x1004d3ec]
add esp, 0x1c
mov edx, dword [esp + 0x14]
mov byte [ecx + edx + 8], al
movzx eax, word [0x1004d428]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret