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

Disassembly:
sub esp, 0x60
mov al, byte [0x1004d3c7]
inc al
mov dword [esp + 0x28], ecx
movzx ecx, al
mov byte [0x1004d3c7], al
mov eax, dword [0x1004d40c]
push ebx
push ebp
push esi
mov esi, dword [0x1004d3e8]
mov dword [esp + 0x54], ecx
push edi
movzx edi, word [0x1004d400]
movzx eax, word [eax + esi*4 + 0x58]
lea ebp, [edi*4]
mov dword [esp + 0x28], eax
mov eax, ecx
xor eax, 0x643
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x64], eax
mov eax, dword [0x1004d438]
mov dword [esp + 0x24], edx
xor edx, edx
mov dword [esp + 0x68], ebx
mov cl, byte [eax + ebp]
mov eax, dword [eax + ebp]
add cl, 0x77
mov dword [esp + 0x34], eax
mov eax, dword [0x1004d3dc]
mov dword [esp + 0x48], ecx
movzx ecx, byte [eax + 0xfac]
mov eax, dword [esp + 0x7c]
div ecx
mov ecx, dword [esp + 0x7c]
mov eax, 0x1681
sub ax, word [ebx + edi*4 + 0x5c]
dec ecx
movzx eax, ax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x7c], ecx
lea eax, [ecx + ecx*2]
movzx ebx, word [0x1004d414]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x50], edx
mov edx, dword [0x1004d3f0]
mov cl, byte [ecx + eax*4]
mov eax, dword [0x1004d41c]
mov byte [esp + 0x13], cl
mov al, byte [eax + 0x65a0]
sub al, cl
mov dword [esp + 0x44], eax
mov eax, dword [0x1004d3d4]
mov eax, dword [eax + ebp]
mov dword [esp + 0x40], eax
mov ax, word [0x1004d3fc]
movzx ecx, ax
inc ax
mov word [0x1004d3fc], ax
movzx eax, si
mov esi, dword [esp + 0x24]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], ecx
movzx ecx, byte [edx + eax + 8]
movzx eax, byte [esi + 0x1d2e]
sub cx, ax
movzx eax, cx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x30], eax
dec ecx
mov eax, dword [0x1004d3d0]
mov dword [esp + 0x2c], eax
or eax, 0x1056
mov dword [esp + 0x3c], eax
add edi, edi
mov eax, dword [0x1004d3d8]
mov dword [esp + 0x7c], ecx
mov eax, dword [eax + edi*8]
mov edi, dword [esp + 0x88]
mov dword [esp + 0x6c], eax
mov eax, dword [edi]
movzx eax, byte [eax + esi]
add edi, 4
sub eax, ecx
sub dword [esp + 0x7c], 2
mov dword [esp + 0x20], eax
lea esi, [ebx - 0x1eec]
mov ax, word [0x1004d3ec]
movzx ecx, ax
inc ax
mov word [0x1004d3ec], ax
dec ecx
mov eax, dword [esp + 0x2c]
dec eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], eax
mov dword [0x1004d3d0], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x88], edi
add dword [eax + edx*4], 0x174
movzx edx, byte [esp + 0x74]
mov eax, dword [esp + 0x1c]
movzx eax, ax
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x34]
mov edx, dword [edx + eax*4]
mov eax, ecx
mov ecx, dword [esp + 0x34]
add eax, eax
and edx, dword [esp + 0x4c]
mov ecx, dword [ecx + eax*8]
mov eax, dword [esp + 0x34]
mov eax, dword [eax + ebp]
mov ebp, dword [esp + 0x40]
imul eax, ebp
push eax
push 0x1a5a
push ebp
mov ebp, dword [0x1004d410]
push ecx
push edx
mov edx, dword [esp + 0x40]
mov ecx, ebp
push esi
call fcn.10007640
mov ecx, dword [esp + 0x94]
xor edx, edx
mov dword [edi + ecx*4 + 0x98], eax
mov eax, dword [0x1004d3b4]
div dword [esp + 0x58]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x74], edx
xor edx, edx
movzx eax, byte [eax + ecx*4]
imul eax, dword [esp + 0x38]
mov ecx, dword [0x1004d404]
mov dword [esp + 0x8c], eax
mov eax, dword [edi]
movzx ecx, byte [ecx + eax*4]
movzx eax, word [0x1004d430]
div ecx
movzx eax, word [0x1004d400]
mov ecx, dword [esp + 0x30]
add eax, 0x108
mov edi, edx
mov edx, dword [esp + 0x2c]
sub edx, 2
mov dword [esp + 0x2c], edx
lea eax, [eax + eax*2]
mov esi, dword [eax*4]
mov eax, dword [esp + 0x54]
or esi, dword [eax + 0x3f80]
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + ecx*4]
mov eax, ebp
add ecx, dword [0x1004d3e8]
or eax, 0xf8b
inc ebp
push eax
mov dword [0x1004d410], ebp
push ecx
mov ebp, dword [esp + 0x3c]
push esi
mov esi, dword [esp + 0x3c]
mov eax, esi
push 0x1868
push edx
cdq
movzx ecx, bp
idiv ecx
mov edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0x88]
push eax
push 0xfdc
push edi
call fcn.1000b5a0
mov ecx, dword [esp + 0x74]
add esp, 0x38
add dword [esp + 0x30], 0x117a
mov dword [ecx + esi*4], eax
cmp ebx, 0x1811
jne 0x100083b4
mov esi, dword [esp + 0x78]
mov eax, dword [esp + 0x84]
mov ecx, dword [0x1004d404]
sub eax, ecx
add eax, 0xe
lea edx, [esi + 0x9066]
mov dword [esp + 0x60], eax
mov dword [esp + 0x74], edx
nop word [eax + eax]
mov ebp, dword [esp + 0x54]
lea edi, [ebx + ecx]
movzx ecx, byte [eax + edi]
movzx eax, bp
mov ebp, dword [esp + 0x1c]
imul ecx, eax
mov al, byte [edx]
mov edx, dword [0x1004d408]
or al, 0x47
mov byte [esp + 0x5c], al
movzx eax, bp
movzx eax, word [esi + eax*2]
mov esi, dword [esp + 0x50]
sub esi, eax
mov eax, dword [0x1004d3f0]
add eax, 0xffffe973
push eax
push esi
push ebx
push dword [esp + 0x68]
call fcn.1000d0f0
mov edx, dword [esp + 0x84]
add esp, 0x10
mov esi, dword [esp + 0x78]
add edx, 6
movzx ebp, ax
movzx eax, byte [edi]
movzx ecx, bl
inc ebx
imul ecx, eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x74], edx
mov byte [edi], cl
mov ecx, dword [0x1004d404]
cmp ebx, 0x1811
je 0x10008330
mov esi, dword [esp + 0x18]
mov eax, dword [0x1004d3e8]
mov edx, dword [esp + 0x24]
cmp byte [eax + edx], 0xa5
jne 0x1000840a
mov edi, dword [esp + 0x88]
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x8c]
inc dword [edi]
mov ecx, dword [edi]
mov eax, dword [eax + esi*4 + 0x20]
add ecx, ecx
cmp eax, dword [edx + ecx*8 + 0xc]
jbe 0x1000840a
mov eax, dword [0x1004d3bc]
dec esi
mov dword [esp + 0x18], esi
cmp eax, dword [esi*4 + 0xc60]
jb 0x1000840a
mov edx, dword [0x1004d3e4]
mov ebp, dword [esp + 0x24]
jmp 0x10008491
xor edx, edx
mov ecx, dword [esp + 0x28]
mov eax, 0x508
mov edi, dword [esp + 0x3c]
div dword [esp + 0x20]
xor edx, edx
mov dword [esp + 0x20], eax
movzx eax, cx
inc ecx
div dword [esp + 0x64]
mov dword [esp + 0x28], ecx
movzx ecx, bp
mov ebx, edx
mov ebp, dword [esp + 0x24]
add ecx, ecx
xor edx, edx
movzx eax, byte [ebp + esi*4 + 0x1d]
div dword [edi + ecx*8]
movzx eax, word [0x1004d430]
movzx ecx, byte [ebp + 0x1641]
sub edx, eax
or dword [esp + 0x14], edx
mov edx, dword [0x1004d3e4]
mov edi, dword [esp + 0x88]
movzx eax, bl
imul ecx, eax
mov eax, dword [esp + 0x48]
movzx eax, al
imul eax, eax, 0xb6
and cl, 3
or byte [0x1004d3ee], cl
mov dword [esp + 0x48], eax
mov eax, esi
sub eax, edx
dec edx
movzx eax, ax
mov dword [esp + 0x30], eax
dec dword [edi]
inc edx
mov ecx, dword [edi]
mov dword [0x1004d3e4], edx
xor edx, edx
movzx ebx, byte [0x1004d3c7]
lea eax, [ecx*2]
add eax, ebp
add ecx, eax
movzx eax, byte [esp + 0x30]
sub al, byte [ecx]
mov byte [ecx], al
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x38]
dec ecx
mov dword [esp + 0x7c], ecx
movzx eax, byte [eax + ecx]
sub eax, ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x64], eax
movzx eax, word [0x1004d3ec]
lea eax, [eax + eax*2]
mov ebp, dword [ecx + eax*4]
mov al, byte [esp + 0x13]
movzx edi, al
inc al
mov byte [esp + 0x13], al
mov eax, 0x1301
div dword [0x1004d434]
movzx eax, byte [0x1004d3c5]
mov esi, edx
xor edx, edx
div dword [0x1004d3b8]
mov edx, dword [0x1004d3c8]
mov ecx, eax
mov eax, dword [esp + 0x1c]
movzx eax, ax
mov dword [esp + 0x74], eax
movzx eax, byte [edx + eax*4]
xor edx, edx
push eax
mov eax, dword [esp + 0x4c]
movzx eax, al
div edi
push ecx
mov ecx, dword [esp + 0x6c]
mov edx, 0x138d
push esi
push eax
push 0xc27
push edi
push ebx
push ebp
call fcn.1000b5a0
mov ecx, dword [esp + 0x38]
add esp, 0x20
mov esi, dword [esp + 0x78]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x1c]
mov dword [0x1004d408], eax
mov eax, 0x22d
xor word [esi + ecx*2 + 0xe], ax
mov dword [esp + 0x48], ebx
cmp ebx, 0xc27
ja 0x10008719
mov edx, dword [esp + 0x24]
movzx edi, byte [esp + 0x13]
mov dword [esp + 0x60], edi
lea eax, [edx + ecx*2]
add eax, ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x64], eax
mov eax, ebx
shl eax, 4
add eax, ecx
mov dword [esp + 0x3c], eax
xor edx, edx
mov eax, edi
div dword [esp + 0x20]
mov eax, dword [0x1004d3f0]
inc ebp
mov dword [esp + 0x20], edx
mov edx, 0x9dd
push ebx
add word [esi + eax*8 + 0x40], dx
dec eax
mov dword [0x1004d3f0], eax
mov eax, dword [esp + 0x8c]
mov eax, dword [eax]
mov edi, dword [eax*4 + 0xc54]
mov eax, dword [0x1004d3d4]
imul edi, dword [eax + 0x20e8]
mov eax, dword [0x1004d3e8]
mov edx, dword [ecx + eax*4 + 0x34]
mov eax, dword [esp + 0x68]
or edx, ebx
mov ecx, dword [esp + 0x84]
movzx esi, byte [eax]
mov eax, dword [esp + 0x78]
add eax, 2
add eax, eax
push dword [ecx + eax*8]
mov eax, dword [esp + 0x30]
movzx eax, al
movzx ecx, bl
imul ecx, eax
push esi
movzx eax, cl
mov ecx, edi
push eax
call fcn.1000d0f0
mov ecx, dword [esp + 0x44]
xor edx, edx
movzx eax, ax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
movzx esi, word [0x1004d414]
mov eax, dword [ecx + eax*4]
div dword [esp + 0x24]
movzx ecx, byte [0x1004d3ee]
add dword [esp + 0x38], eax
mov edi, eax
dec eax
sub ebx, ecx
mov ecx, dword [0x1004d3dc]
mov dword [esp + 0x24], eax
movzx eax, word [0x1004d400]
movzx edx, byte [ecx + eax*4]
movzx eax, byte [0x1004d3c6]
sub edx, eax
movzx eax, bp
push edx
mov edx, dword [esp + 0x44]
movzx ecx, dx
mov edx, dword [esp + 0x60]
push ecx
push eax
push dword [esp + 0x3c]
mov dword [esp + 0x94], eax
mov ecx, ebx
mov eax, dword [esp + 0x4c]
push 0x1c25
add eax, 0xffffff26
push eax
push esi
push edi
call fcn.1000b5a0
mov edx, dword [esp + 0x6c]
add esp, 0x30
mov cl, byte [esp + 0x13]
mov ebx, dword [esp + 0x48]
sub cl, bl
movzx ecx, cl
mov dword [edx], eax
mov eax, dword [esp + 0x44]
movzx eax, al
imul ecx, eax
mov eax, dword [0x1004d3b8]
inc ebx
dec dword [0x1004d3e8]
dec eax
mov esi, dword [esp + 0x78]
add edx, 0x10
mov edi, dword [esp + 0x60]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x40]
inc ecx
mov dword [0x1004d3b8], eax
mov dword [esp + 0x40], ecx
imul ecx, eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x3c], edx
sub ecx, 0x1d98
or ecx, dword [0x1004d430]
add word [0x1004d414], cx
mov ecx, dword [esp + 0x8c]
cmp ebx, 0xc27
jbe 0x100085a0
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x24]
movzx edi, bp
mov dword [esp + 0x64], edi
movzx eax, byte [eax + ecx + 0x23]
cdq
idiv dword [0x1004d3f4]
xor edx, edx
movzx ecx, word [0x1004d400]
div dword [0x1004d3bc]
mov edx, dword [esp + 0x34]
mov dword [0x1004d3bc], eax
mov al, byte [esi + ecx*8]
sub al, byte [ecx*4 + 0xc60]
mov byte [esp + 0x74], al
mov al, byte [0x1004d3c5]
dec al
movzx ebx, al
mov byte [0x1004d3c5], al
mov eax, dword [0x1004d42c]
add ebx, dword [0x11e7]
mov edi, dword [eax + edi*4]
mov eax, dword [esp + 0x80]
add edi, dword [eax + 0x1c00]
mov eax, dword [esp + 0x30]
inc eax
movzx esi, ax
mov eax, dword [0x1004d3f0]
add esi, dword [edx + eax*4]
xor edx, edx
mov eax, dword [esp + 0x38]
movzx ecx, byte [ecx + eax]
mov eax, dword [esp + 0x44]
movzx eax, al
div ecx
movzx ecx, word [0x1004d3c0]
mov dl, byte [esp + 0x74]
push ecx
push eax
mov eax, dword [0x1004d3e8]
push eax
mov eax, dword [esp + 0x20]
add eax, dword [0x1004d424]
push eax
push esi
push edi
push ebx
call fcn.10007920
mov edx, dword [0x1004d41c]
add esp, 0x1c
mov ecx, dword [esp + 0x50]
mov di, word [0x1004d400]
mov ebp, dword [esp + 0x18]
movzx eax, ax
mov dword [esp + 0x74], eax
movzx eax, word [0x1004d3ec]
cmp ecx, dword [edx + eax*4 + 0xc]
je 0x10008806
mov eax, dword [esp + 0x44]
dec al
movzx eax, al
cmp ebp, eax
jne 0x10008868
mov eax, dword [0x1004d3f0]
mov ecx, dword [esp + 0x8c]
mov edx, dword [0x1004d424]
cmp edx, dword [ecx + eax*4]
ja 0x10008868
mov eax, dword [0x1004d3c8]
movzx ecx, byte [eax + ebp]
mov eax, dword [0x1004d3dc]
movzx eax, byte [eax + 0xa7c]
sub eax, ecx
movzx ecx, word [0x1004d414]
cdq
idiv ecx
movzx ecx, di
mov si, ax
mov eax, dword [esp + 0x34]
lea edx, [eax + ecx*4]
mov word [0x1004d414], si
mov eax, dword [esp + 0x68]
mov ecx, 0x19e6
sub ecx, dword [edx]
mov dword [edx], ecx
mov dword [esp + 0x88], eax
jmp 0x1000886f
mov si, word [0x1004d414]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
movzx esi, si
xor esi, 0xd4f
movzx ebx, word [eax + ecx*2]
mov eax, dword [esp + 0x84]
movzx ecx, di
mov edi, dword [esp + 0x80]
movzx eax, byte [eax + 0x1044]
sub ebx, eax
mov eax, dword [esp + 0x8c]
mov edx, dword [eax + 0x5914]
mov eax, ecx
add edx, dword [0x1004d3d0]
add eax, eax
mov edi, dword [edi + eax*8]
lea eax, [ecx + ecx*2]
mov ecx, dword [esp + 0x8c]
imul eax, dword [ecx + eax*4], 0xd9
mov ecx, 0x9cd
push eax
mov eax, dword [esp + 0x78]
push 0xc27
movzx eax, ax
push esi
sub ecx, eax
push ecx
push edi
push edx
mov edx, ebx
mov ecx, 0x1b8ddfe
call fcn.10007640
mov ecx, dword [esp + 0x2c]
dec ebp
mov edx, dword [esp + 0x84]
mov ebx, dword [0x1004d3c0]
mov dword [esp + 0x30], ebp
mov dword [edx + ecx*4], eax
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax]
mov eax, ebx
cdq
idiv dword [ecx*4 - 0xead]
movzx eax, byte [0x1004d3c7]
add edx, dword [esp + 0x64]
add eax, edx
mov cl, byte [0x1004d3f4]
cdq
and cl, bl
idiv dword [ebp*4 + 0xce0]
mov eax, dword [esp + 0xa4]
mov dword [ebp*4 + 0xce0], edx
xor edx, edx
mov byte [esp + 0x8c], cl
mov ecx, dword [0x1004d3e0]
mov dword [eax + ebp*4], 0x13df
mov eax, dword [esp + 0x64]
div dword [0x1004d3b4]
mov dl, byte [0x1004d3c5]
inc dl
mov byte [0x1004d3c5], dl
movzx edx, dl
push edx
push 0xc27
push 0xa5
push dword [esp + 0x98]
mov edx, eax
call fcn.1000d0f0
mov ecx, dword [0x1004d3f0]
mov edx, dword [esp + 0x60]
mov byte [edx + ecx*4], al
inc ecx
mov eax, dword [0x1004d3b4]
add eax, dword [esp + 0x48]
mov dword [esp + 0x9c], eax
mov eax, 0xc54
mov dword [0x1004d3f0], ecx
mov eax, dword [eax]
movzx ebp, byte [eax + edx + 0x26]
mov eax, dword [esp + 0x7c]
inc eax
movzx eax, ax
xor edx, edx
imul ebp, eax
mov eax, dword [esp + 0x4c]
movzx esi, word [0x1004d3fc]
movzx ebx, byte [eax + 0x1ad7]
mov eax, dword [0x1004d418]
add ebx, dword [eax + ecx*4 + 0x14]
mov ecx, dword [esp + 0xa4]
mov edi, dword [eax + ecx*4]
mov eax, dword [esp + 0xb0]
or edi, 0xc85
mov ecx, dword [esp + 0xa0]
mov eax, dword [eax]
movzx eax, word [ecx + eax*2]
mov ecx, 0x1874
div ecx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x9c]
dec eax
push edx
push esi
push edi
push 0x2c5
push ebx
mov ebx, dword [esp + 0xb8]
mov edx, ebp
push eax
push dword [0x1004d3e0]
push ebx
call fcn.1000b5a0
mov ecx, dword [esp + 0xac]
add esp, 0x48
mov edx, dword [esp + 0x58]
add ecx, ecx
pop edi
pop esi
mov dword [edx + ecx*8], eax
lea eax, [ebx + 1]
pop ebp
pop ebx
add esp, 0x60
ret