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

Disassembly:
push 0xffffffffffffffff
push 0x1005e798
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x10081730]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10081730]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [esp + 0x80]
cmp eax, 0xfffffffe
mov ebp, dword [esp + 0x90]
mov esi, edx
mov ebx, ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], ebp
lea edi, [esi + 0x20]
je 0x1004d411
test eax, eax
je 0x1004d405
cmp eax, dword [esp + 0x88]
je 0x1004d411
call fcn.10032095
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
cmp ecx, dword [esp + 0x8c]
jne 0x1004d42d
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov eax, ebx
jmp 0x1004dc23
cmp dword [esi + 8], 0
mov ecx, dword [ebp]
mov bl, byte [esp + 0x94]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], 0
jbe 0x1004d5fe
lea ecx, [ecx]
cmp word [edi], 0
mov ebp, dword [esp + 0x84]
mov esi, eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], ebp
jne 0x1004d4f0
cmp eax, 0xfffffffe
je 0x1004d4a4
test eax, eax
jne 0x1004d480
call fcn.10032095
mov eax, dword [esp + 0x80]
cmp dword [esi + 0x18], 8
jb 0x1004d48b
mov ecx, dword [esi + 4]
jmp 0x1004d48e
lea ecx, [esi + 4]
mov edx, dword [esi + 0x14]
lea ecx, [ecx + edx*2]
cmp ebp, ecx
jb 0x1004d4a4
call fcn.10032095
mov eax, dword [esp + 0x80]
test bl, bl
movzx ecx, word [ebp]
je 0x1004d4c5
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
mov edx, dword [eax]
call fcn.10054e20
movzx ecx, ax
mov eax, dword [esp + 0x80]
jmp 0x1004d4c8
movzx ecx, cx
movzx edx, word [edi]
cmp cx, dx
je 0x1004d624
test dx, dx
jne 0x1004d5e6
lea ecx, [ecx]
add edi, 2
cmp word [edi], 0
je 0x1004d4e0
jmp 0x1004d5e6
cmp esi, 0xfffffffe
je 0x1004d507
test esi, esi
je 0x1004d502
cmp esi, dword [esp + 0x88]
je 0x1004d507
call fcn.10032095
cmp ebp, dword [esp + 0x8c]
je 0x1004d5cb
cmp esi, 0xfffffffe
je 0x1004d53f
test esi, esi
jne 0x1004d522
call fcn.10032095
cmp dword [esi + 0x18], 8
jb 0x1004d52d
mov eax, dword [esi + 4]
jmp 0x1004d530
lea eax, [esi + 4]
mov ecx, dword [esi + 0x14]
lea edx, [eax + ecx*2]
cmp ebp, edx
jb 0x1004d53f
call fcn.10032095
test bl, bl
movzx ecx, word [ebp]
je 0x1004d559
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov edx, dword [eax]
call fcn.10054e20
movzx eax, ax
jmp 0x1004d55c
movzx eax, cx
cmp ax, word [edi]
jne 0x1004d5cb
add edi, 2
cmp esi, 0xfffffffe
je 0x1004d58f
test esi, esi
jne 0x1004d572
call fcn.10032095
cmp dword [esi + 0x18], 8
jb 0x1004d57d
mov eax, dword [esi + 4]
jmp 0x1004d580
lea eax, [esi + 4]
mov ecx, dword [esi + 0x14]
lea edx, [eax + ecx*2]
cmp ebp, edx
jb 0x1004d58f
call fcn.10032095
add ebp, 2
cmp word [edi], 0
mov dword [esp + 0x30], ebp
jne 0x1004d4f0
mov ecx, dword [esp + 0x18]
cmp byte [ecx + 0x1c], 0
jne 0x1004d62e
cmp esi, 0xfffffffe
je 0x1004d65a
test esi, esi
je 0x1004d655
cmp esi, dword [esp + 0x80]
jmp 0x1004d653
cmp word [edi], 0
je 0x1004d5a0
mov eax, edi
add eax, 2
cmp word [eax], 0
jne 0x1004d5d3
lea edi, [eax + 2]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add ecx, 1
cmp ecx, dword [edx + 8]
mov dword [esp + 0x14], ecx
jb 0x1004d450
xor ebp, ebp
cmp eax, 0xfffffffe
je 0x1004d6b7
cmp eax, ebp
jne 0x1004d619
call fcn.10032095
mov eax, dword [esp + 0x80]
cmp dword [eax + 0x18], 8
jb 0x1004d699
mov ecx, dword [eax + 4]
jmp 0x1004d69c
mov ecx, dword [esp + 0x18]
cmp byte [ecx + 0x1c], 0
je 0x1004d648
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x80]
mov edx, dword [eax]
mov dword [ecx], edx
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
jmp 0x1004dc21
cmp esi, 0xfffffffe
je 0x1004d65a
test esi, esi
je 0x1004d655
cmp esi, eax
je 0x1004d65a
call fcn.10032095
cmp ebp, dword [esp + 0x84]
jne 0x1004d682
lea ecx, [esp + 0x80]
call fcn.1002a047
mov edx, dword [eax]
mov ecx, dword [esp + 0x20]
mov dword [ecx], edx
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
jmp 0x1004dc21
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x2c]
mov edx, dword [eax]
mov dword [ecx], edx
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
jmp 0x1004dc21
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
lea ecx, [ecx + edx*2]
cmp dword [esp + 0x84], ecx
jb 0x1004d6b7
call fcn.10032095
mov eax, dword [esp + 0x80]
test bl, bl
mov edx, dword [esp + 0x84]
movzx ecx, word [edx]
je 0x1004d6de
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov edx, dword [eax]
call fcn.10054e20
movzx ebx, ax
mov eax, dword [esp + 0x80]
jmp 0x1004d6e1
movzx ebx, cx
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 0xc]
cmp ecx, ebp
mov dword [esp + 0x28], ebx
jne 0x1004d6fb
cmp dword [esi + 0x10], ebp
je 0x1004db13
xor ebp, ebp
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], ebp
mov word [esp + 0x54], bp
cmp ecx, ebp
mov dword [esp + 0x78], ebp
je 0x1004d8fb
mov ecx, dword [esp + 0x24]
test dword [ecx + 8], 0x200000
jne 0x1004d73c
mov ebp, 1
mov word [esp + 0x54], bx
mov dword [esp + 0x64], ebp
mov word [esp + 0x56], 0
jmp 0x1004d797
lea edx, [esp + 0x16]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x28]
mov word [esp + 0x20], bx
mov word [esp + 0x22], bp
call fcn.100445c0
push 0xffffffffffffffff
push ebp
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x84], 1
call fcn.10001537
cmp dword [esp + 0x4c], 8
mov byte [esp + 0x78], 0
jb 0x1004d78c
mov edx, dword [esp + 0x38]
push edx
call fcn.10031683
add esp, 4
mov ebp, dword [esp + 0x64]
mov eax, dword [esp + 0x80]
cmp dword [esi + 0xc], 0
mov dword [esp + 0x14], 0
jbe 0x1004d8fb
lea esp, [esp]
cmp word [edi], 0
jne 0x1004d7dc
test ebp, ebp
je 0x1004d850
cmp ebp, 1
jne 0x1004d7dc
cmp dword [esp + 0x68], 8
mov eax, dword [esp + 0x54]
jae 0x1004d7d2
lea eax, [esp + 0x54]
cmp word [eax], 0
je 0x1004d850
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1004d7e1
sub eax, edx
sar eax, 1
cmp ebp, eax
mov esi, ebp
jb 0x1004d7f8
mov esi, eax
cmp dword [esp + 0x68], 8
mov edx, dword [esp + 0x54]
jae 0x1004d807
lea edx, [esp + 0x54]
test esi, esi
mov ecx, edi
jbe 0x1004d835
lea ecx, [ecx]
mov bx, word [edx]
cmp bx, word [ecx]
jne 0x1004d825
add edx, 2
add ecx, 2
sub esi, 1
jne 0x1004d810
jmp 0x1004d835
mov dx, bx
cmp dx, word [ecx]
sbb ecx, ecx
and ecx, 0xfffffffe
add ecx, 1
jne 0x1004d844
cmp ebp, eax
jb 0x1004d8c0
xor ecx, ecx
cmp ebp, eax
setne cl
test ecx, ecx
jl 0x1004d8c0
mov ebx, dword [esp + 0x28]
add edi, 2
cmp word [edi], 0
jne 0x1004d850
add edi, 2
cmp word [edi], 0
jne 0x1004d888
test ebp, ebp
je 0x1004da0c
cmp ebp, 1
jne 0x1004d888
cmp dword [esp + 0x68], 8
mov eax, dword [esp + 0x54]
jae 0x1004d87e
lea eax, [esp + 0x54]
cmp word [eax], 0
je 0x1004da0c
mov eax, edi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1004d890
sub eax, edx
sar eax, 1
push eax
push edi
push ebp
push 0
lea ecx, [esp + 0x60]
call fcn.10008da0
test eax, eax
jle 0x1004da0c
mov ebp, dword [esp + 0x64]
jmp 0x1004d8d0
add edi, 2
cmp word [edi], 0
jne 0x1004d8c0
mov ebx, dword [esp + 0x28]
add edi, 2
add edi, 2
cmp word [edi], 0
jne 0x1004d8d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add eax, 1
add edi, 2
cmp eax, dword [ecx + 0xc]
mov dword [esp + 0x14], eax
jb 0x1004d7b0
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0x10], 0
je 0x1004dadd
lea edx, [esp + 0x26]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x28]
xor esi, esi
mov word [esp + 0x30], bx
mov word [esp + 0x32], si
call fcn.10049c10
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x84], 2
call fcn.10001537
cmp dword [esp + 0x4c], 8
mov byte [esp + 0x78], 0
jb 0x1004d95b
mov edx, dword [esp + 0x38]
push edx
call fcn.10031683
add esp, 4
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x10]
cmp eax, esi
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], esi
mov word [esp + 0x38], si
mov dword [esp + 0x14], esi
mov dword [esp + 0x2c], eax
jbe 0x1004dad6
mov ebp, dword [esp + 0x64]
cmp word [edi], 0
jne 0x1004d9b3
test ebp, ebp
je 0x1004db69
cmp ebp, 1
jne 0x1004d9b3
cmp dword [esp + 0x68], 8
mov eax, dword [esp + 0x54]
jae 0x1004d9a9
lea eax, [esp + 0x54]
cmp word [eax], 0
je 0x1004db69
mov eax, edi
lea edx, [eax + 2]
jmp 0x1004d9c0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1004d9c0
sub eax, edx
sar eax, 1
cmp ebp, eax
mov esi, ebp
jb 0x1004d9d7
mov esi, eax
cmp dword [esp + 0x68], 8
mov edx, dword [esp + 0x54]
jae 0x1004d9e6
lea edx, [esp + 0x54]
test esi, esi
mov ecx, edi
jbe 0x1004da9e
mov bx, word [edx]
cmp bx, word [ecx]
jne 0x1004da8e
add edx, 2
add ecx, 2
sub esi, 1
jne 0x1004d9f0
jmp 0x1004da9e
mov edx, dword [esp + 0x18]
cmp byte [edx + 0x1c], 0
mov eax, dword [esp + 0x80]
jne 0x1004da63
cmp eax, 0xfffffffe
je 0x1004da5b
test eax, eax
jne 0x1004da32
call fcn.10032095
mov eax, dword [esp + 0x80]
cmp dword [eax + 0x18], 8
jb 0x1004da3d
mov ecx, dword [eax + 4]
jmp 0x1004da40
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
lea ecx, [ecx + edx*2]
cmp dword [esp + 0x84], ecx
jb 0x1004da5b
call fcn.10032095
mov eax, dword [esp + 0x80]
add dword [esp + 0x84], 2
cmp dword [esp + 0x68], 8
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x84]
mov dword [esi], eax
mov dword [esi + 4], edx
jb 0x1004da87
mov eax, dword [esp + 0x54]
push eax
call fcn.10031683
add esp, 4
mov eax, esi
jmp 0x1004dc23
mov dx, bx
cmp dx, word [ecx]
sbb ecx, ecx
and ecx, 0xfffffffe
add ecx, 1
jne 0x1004daa9
cmp ebp, eax
jb 0x1004dab1
xor ecx, ecx
cmp ebp, eax
setne cl
test ecx, ecx
je 0x1004db69
add edi, 2
cmp word [edi], 0
jne 0x1004dab1
mov eax, dword [esp + 0x14]
add eax, 1
add edi, 2
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
jb 0x1004d987
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x80]
cmp dword [esp + 0x68], 8
mov dword [esp + 0x78], 0xffffffff
jb 0x1004db00
mov ecx, dword [esp + 0x54]
push ecx
call fcn.10031683
mov eax, dword [esp + 0x84]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], ecx
mov word [esp + 0x54], cx
mov edi, dword [esp + 0x18]
mov esi, dword [edi + 0x14]
mov edx, esi
and edx, 0x3ff
je 0x1004db3d
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov ecx, dword [eax]
push ebx
call fcn.10054e60
test al, al
mov eax, dword [esp + 0x80]
jne 0x1004db5a
test esi, 0x800
je 0x1004db4c
cmp bx, 0x100
ja 0x1004db5a
test esi, 0x400
je 0x1004db76
cmp bx, 0x5f
jne 0x1004db76
cmp byte [edi + 0x1c], 0
jne 0x1004dc11
jmp 0x1004dbcb
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x1c], 0
jmp 0x1004da14
mov esi, dword [edi + 0x18]
test esi, esi
je 0x1004dbc5
mov edx, esi
and edx, 0x3ff
je 0x1004dba0
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov ecx, dword [eax]
push ebx
call fcn.10054e60
test al, al
mov eax, dword [esp + 0x80]
jne 0x1004dbc5
test esi, 0x800
je 0x1004dbaf
cmp bx, 0x100
ja 0x1004dbc5
test esi, 0x400
je 0x1004dbbd
cmp bx, 0x5f
je 0x1004dbc5
cmp byte [edi + 0x1c], 0
jne 0x1004dc11
jmp 0x1004dbcb
cmp byte [edi + 0x1c], 0
je 0x1004dc11
cmp eax, 0xfffffffe
je 0x1004dc09
test eax, eax
jne 0x1004dbe0
call fcn.10032095
mov eax, dword [esp + 0x80]
cmp dword [eax + 0x18], 8
jb 0x1004dbeb
mov ecx, dword [eax + 4]
jmp 0x1004dbee
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
lea ecx, [ecx + edx*2]
cmp dword [esp + 0x84], ecx
jb 0x1004dc09
call fcn.10032095
mov eax, dword [esp + 0x80]
add dword [esp + 0x84], 2
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x84]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, ecx
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.10031c08
add esp, 0x68
ret 0x18