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

Disassembly:
sub esp, 0x94
push ebx
push ebp
push esi
mov esi, ecx
push edi
test byte [esi + 8], 2
jne 0x4daca8
mov edx, dword [esi + 0x40]
mov ebp, dword [esi + 0x8c]
mov eax, edx
mov ecx, ebp
sar eax, cl
mov edi, dword [esi + 0x90]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x50], eax
inc eax
mov dword [esp + 0x54], eax
shl eax, cl
mov ecx, edi
sub eax, edx
mov edx, dword [esi + 0x44]
mov ebx, edx
mov dword [esp + 0x44], eax
sar ebx, cl
lea eax, [ebx + 1]
mov dword [esp + 0xa0], eax
shl eax, cl
mov ecx, ebp
sub eax, edx
mov edx, dword [esi + 0x48]
mov dword [esp + 0x28], eax
mov eax, edx
sar eax, cl
mov ecx, eax
mov dword [esp + 0x14], ecx
mov ecx, ebp
mov ebp, eax
shl ebp, cl
mov ecx, edi
sub edx, ebp
mov ebp, dword [esi + 0x4c]
inc edx
mov dword [esp + 0x4c], edx
mov edx, ebp
sar edx, cl
mov ecx, edx
mov dword [esp + 0x14], ecx
mov ecx, edi
mov edi, edx
sub edx, ebx
shl edi, cl
mov ecx, dword [esi + 0x3c]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x68], ecx
sub ebp, edi
mov edi, dword [esi + 0x38]
mov dword [esp + 0x74], edi
sub edi, dword [esp + 0x44]
inc ebp
mov dword [esp + 0x14], edi
mov dword [esp + 0x6c], edi
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x94], edi
mov edi, dword [esp + 0xa8]
xor ebp, ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], ebp
mov ebp, dword [edi + 0x2c]
mov edi, dword [esp + 0x50]
sub eax, edi
mov edi, dword [esi + 0x54]
dec eax
dec edx
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x38]
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x64], eax
mov eax, ecx
sub eax, edx
mov edx, dword [esi + 0x24]
mov dword [esp + 0x60], eax
mov edx, dword [edx + ebx*4]
mov ebx, dword [esi + 0x50]
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0x38]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x38], edx
add ecx, eax
mov eax, dword [esi + 0x20]
mov eax, dword [eax + ecx*4]
cmp eax, 0xeeeeeeee
jne 0x4da581
mov eax, dword [esp + 0x30]
mov ecx, ebx
sub ecx, eax
mov eax, dword [esp + 0x3c]
add ecx, edx
mov edx, edi
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x34]
sub edx, ecx
lea ecx, [esp + 0x18]
add edx, eax
lea eax, [esi + 0xf4]
push eax
push 0x1000400
push 0
push 0
push ecx
mov ecx, ebp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x38], edx
call fcn.004c2b80
jmp 0x4da5c3
cmp eax, 0xffffffff
je 0x4da5c3
mov ecx, dword [esi + 0xa0]
mov edx, eax
shr edx, 0x10
and eax, 0xffff
mov ecx, dword [ecx + edx*4]
cmp eax, dword [ecx + 0x64]
jl 0x4da5ab
cmp eax, dword [ecx + 0x68]
jg 0x4da5ab
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + eax*4]
jmp 0x4da5ad
xor eax, eax
mov ecx, dword [eax + 0x28]
mov eax, dword [eax + 0x2c]
lea edx, [esp + 0x30]
push ecx
push edx
push eax
push edi
push ebx
mov ecx, ebp
call fcn.004c2c20
mov ecx, dword [esp + 0x44]
mov eax, dword [esi + 0x28]
add ebx, ecx
mov ecx, dword [esp + 0x54]
cmp ecx, eax
mov dword [esp + 0x10], ecx
jl 0x4da5de
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x58]
test eax, eax
jle 0x4da6b4
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x2c]
lea eax, [ecx + edx]
mov edx, dword [esi + 0x20]
mov eax, dword [edx + eax*4]
cmp eax, 0xeeeeeeee
jne 0x4da648
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x68]
sub eax, edx
add eax, ebx
lea edx, [esi + 0xf4]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x60]
sub ecx, eax
push edx
add ecx, edi
push 0x1000400
push 0
lea eax, [esp + 0x24]
mov dword [esp + 0x30], ecx
push 0
push eax
mov ecx, ebp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], edi
call fcn.004c2b80
jmp 0x4da68a
cmp eax, 0xffffffff
je 0x4da68e
mov edx, dword [esi + 0xa0]
mov ecx, eax
shr ecx, 0x10
and eax, 0xffff
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 0x64]
jl 0x4da672
cmp eax, dword [ecx + 0x68]
jg 0x4da672
mov ecx, dword [ecx + 0x14]
mov eax, dword [ecx + eax*4]
jmp 0x4da674
xor eax, eax
mov edx, dword [eax + 0x28]
lea ecx, [esp + 0x5c]
push edx
mov edx, dword [eax + 0x2c]
push ecx
push edx
push edi
push ebx
mov ecx, ebp
call fcn.004c2c20
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x38]
add ebx, eax
mov eax, dword [esi + 0x28]
inc ecx
cmp ecx, eax
mov dword [esp + 0x10], ecx
jl 0x4da6a5
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x40]
dec eax
mov dword [esp + 0x40], eax
jne 0x4da5ee
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x3c], eax
sub eax, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x30], 0
add ecx, edx
mov edx, dword [esi + 0x20]
mov dword [esp + 0x34], eax
mov ecx, dword [edx + ecx*4]
cmp ecx, 0xeeeeeeee
jne 0x4da727
mov ecx, dword [esp + 0x4c]
mov edx, edi
sub edx, eax
mov dword [esp + 0x18], ebx
lea eax, [esi + 0xf4]
add ebx, ecx
push eax
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x40]
push 0x1000400
push 0
lea ecx, [esp + 0x24]
push 0
add edx, ebx
push ecx
mov ecx, ebp
mov dword [esp + 0x30], edi
mov dword [esp + 0x38], edx
call fcn.004c2b80
jmp 0x4da76a
cmp ecx, 0xffffffff
je 0x4da76a
mov eax, dword [esi + 0xa0]
mov edx, ecx
shr edx, 0x10
and ecx, 0xffff
mov eax, dword [eax + edx*4]
cmp ecx, dword [eax + 0x64]
jl 0x4da752
cmp ecx, dword [eax + 0x68]
jg 0x4da752
mov edx, dword [eax + 0x14]
mov eax, dword [edx + ecx*4]
jmp 0x4da754
xor eax, eax
mov ecx, dword [eax + 0x28]
mov eax, dword [eax + 0x2c]
lea edx, [esp + 0x30]
push ecx
push edx
push eax
push edi
push ebx
mov ecx, ebp
call fcn.004c2c20
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esi + 0x2c]
add edi, edx
cmp eax, ecx
mov dword [esp + 0x28], eax
jl 0x4da78a
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x9c]
test eax, eax
jle 0x4daa11
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 0x24]
mov edx, dword [esp + 0x28]
mov ebx, dword [esi + 0x50]
mov eax, dword [ecx + edx*4]
mov ecx, dword [esp + 0x50]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x2c], eax
add eax, ecx
mov eax, dword [edx + eax*4]
cmp eax, 0xeeeeeeee
jne 0x4da80b
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x74]
mov eax, ebx
mov dword [esp + 0x18], ebx
sub eax, edx
mov edx, dword [esp + 0x78]
add eax, ecx
mov ecx, edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x70]
sub ecx, eax
lea eax, [esp + 0x18]
add ecx, edx
lea edx, [esi + 0xf4]
push edx
push 0x1000400
push 0
mov dword [esp + 0x30], ecx
push 0
push eax
mov ecx, ebp
mov dword [esp + 0x30], edi
call fcn.004c2b80
jmp 0x4da84d
cmp eax, 0xffffffff
je 0x4da84d
mov edx, dword [esi + 0xa0]
mov ecx, eax
shr ecx, 0x10
and eax, 0xffff
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 0x64]
jl 0x4da835
cmp eax, dword [ecx + 0x68]
jg 0x4da835
mov ecx, dword [ecx + 0x14]
mov eax, dword [ecx + eax*4]
jmp 0x4da837
xor eax, eax
mov edx, dword [eax + 0x28]
lea ecx, [esp + 0x6c]
push edx
mov edx, dword [eax + 0x2c]
push ecx
push edx
push edi
push ebx
mov ecx, ebp
call fcn.004c2c20
mov ecx, dword [esp + 0x44]
mov eax, dword [esi + 0x28]
add ebx, ecx
mov ecx, dword [esp + 0x54]
cmp ecx, eax
mov dword [esp + 0x10], ecx
jl 0x4da868
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x58]
test eax, eax
jle 0x4da939
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x2c]
lea edx, [ecx + eax]
mov eax, dword [esi + 0x20]
mov eax, dword [eax + edx*4]
cmp eax, 0xeeeeeeee
jne 0x4da8ce
mov ecx, dword [esi + 0x68]
mov eax, dword [esi + 0x60]
mov edx, dword [esi + 0x6c]
sub ecx, eax
add ecx, ebx
lea eax, [esi + 0xf4]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x64]
push eax
sub edx, ecx
push 0x1000400
push 0
lea ecx, [esp + 0x24]
push 0
add edx, edi
push ecx
mov ecx, ebp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x38], edx
call fcn.004c2b80
jmp 0x4da90f
cmp eax, 0xffffffff
je 0x4da913
mov ecx, dword [esi + 0xa0]
mov edx, eax
shr edx, 0x10
and eax, 0xffff
mov ecx, dword [ecx + edx*4]
cmp eax, dword [ecx + 0x64]
jl 0x4da8f8
cmp eax, dword [ecx + 0x68]
jg 0x4da8f8
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + eax*4]
jmp 0x4da8fa
xor eax, eax
mov ecx, dword [eax + 0x28]
mov eax, dword [eax + 0x2c]
lea edx, [esi + 0x60]
push ecx
push edx
push eax
push edi
push ebx
mov ecx, ebp
call fcn.004c2c20
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x38]
add ebx, eax
mov eax, dword [esi + 0x28]
inc ecx
cmp ecx, eax
mov dword [esp + 0x10], ecx
jl 0x4da92a
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x40]
dec eax
mov dword [esp + 0x40], eax
jne 0x4da878
mov edx, dword [esp + 0x2c]
mov eax, dword [esi + 0x20]
add ecx, edx
mov eax, dword [eax + ecx*4]
cmp eax, 0xeeeeeeee
jne 0x4da9a0
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x94]
mov dword [esp + 0x18], ebx
mov edx, dword [esp + 0x98]
sub ebx, ecx
mov ecx, edi
add ebx, eax
lea eax, [esp + 0x18]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x90]
sub ecx, ebx
mov dword [esp + 0x1c], edi
add ecx, edx
lea edx, [esi + 0xf4]
push edx
push 0x1000400
push 0
mov dword [esp + 0x30], ecx
push 0
push eax
mov ecx, ebp
call fcn.004c2b80
jmp 0x4da9e5
cmp eax, 0xffffffff
je 0x4da9e5
mov edx, dword [esi + 0xa0]
mov ecx, eax
shr ecx, 0x10
and eax, 0xffff
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 0x64]
jl 0x4da9ca
cmp eax, dword [ecx + 0x68]
jg 0x4da9ca
mov ecx, dword [ecx + 0x14]
mov eax, dword [ecx + eax*4]
jmp 0x4da9cc
xor eax, eax
mov edx, dword [eax + 0x28]
lea ecx, [esp + 0x8c]
push edx
mov edx, dword [eax + 0x2c]
push ecx
push edx
push edi
push ebx
mov ecx, ebp
call fcn.004c2c20
mov ebx, dword [esi + 0x3c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 0x2c]
add edi, ebx
inc eax
cmp eax, ecx
mov dword [esp + 0x28], eax
jl 0x4daa02
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x14], eax
jne 0x4da79d
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x24]
xor ecx, ecx
mov dword [esp + 0x84], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x48]
mov ebx, dword [esi + 0x50]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x28]
mov edx, dword [edx + ecx*4]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x2c], edx
mov edx, eax
sub eax, ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x2c]
add eax, ecx
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], 0
mov ecx, dword [ecx + eax*4]
cmp ecx, 0xeeeeeeee
jne 0x4daabb
mov ecx, dword [esp + 0x30]
mov eax, ebx
sub eax, ecx
mov ecx, dword [esp + 0x48]
add eax, edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], eax
lea eax, [esi + 0xf4]
push eax
lea edx, [edi + ecx]
push 0x1000400
push 0
lea ecx, [esp + 0x24]
push 0
push ecx
mov ecx, ebp
mov dword [esp + 0x30], edi
mov dword [esp + 0x38], edx
call fcn.004c2b80
jmp 0x4daafe
cmp ecx, 0xffffffff
je 0x4daafe
mov eax, dword [esi + 0xa0]
mov edx, ecx
shr edx, 0x10
and ecx, 0xffff
mov eax, dword [eax + edx*4]
cmp ecx, dword [eax + 0x64]
jl 0x4daae6
cmp ecx, dword [eax + 0x68]
jg 0x4daae6
mov edx, dword [eax + 0x14]
mov eax, dword [edx + ecx*4]
jmp 0x4daae8
xor eax, eax
mov ecx, dword [eax + 0x28]
mov eax, dword [eax + 0x2c]
lea edx, [esp + 0x30]
push ecx
push edx
push eax
push edi
push ebx
mov ecx, ebp
call fcn.004c2c20
mov ecx, dword [esp + 0x44]
mov eax, dword [esi + 0x28]
add ebx, ecx
mov ecx, dword [esp + 0x54]
cmp ecx, eax
mov dword [esp + 0x10], ecx
jl 0x4dab19
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x58]
test eax, eax
jle 0x4dabf8
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x2c]
lea eax, [ecx + edx]
mov edx, dword [esi + 0x20]
mov eax, dword [edx + eax*4]
cmp eax, 0xeeeeeeee
jne 0x4dab8c
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x88]
sub eax, edx
add eax, ebx
lea edx, [esi + 0xf4]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x80]
sub ecx, eax
push edx
add ecx, edi
push 0x1000400
push 0
lea eax, [esp + 0x24]
mov dword [esp + 0x30], ecx
push 0
push eax
mov ecx, ebp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], edi
call fcn.004c2b80
jmp 0x4dabce
cmp eax, 0xffffffff
je 0x4dabd2
mov edx, dword [esi + 0xa0]
mov ecx, eax
shr ecx, 0x10
and eax, 0xffff
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 0x64]
jl 0x4dabb6
cmp eax, dword [ecx + 0x68]
jg 0x4dabb6
mov ecx, dword [ecx + 0x14]
mov eax, dword [ecx + eax*4]
jmp 0x4dabb8
xor eax, eax
mov edx, dword [eax + 0x28]
lea ecx, [esp + 0x7c]
push edx
mov edx, dword [eax + 0x2c]
push ecx
push edx
push edi
push ebx
mov ecx, ebp
call fcn.004c2c20
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x38]
add ebx, eax
mov eax, dword [esi + 0x28]
inc ecx
cmp ecx, eax
mov dword [esp + 0x10], ecx
jl 0x4dabe9
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x14], eax
jne 0x4dab29
xor eax, eax
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x2c]
add ecx, eax
mov eax, dword [esi + 0x20]
mov eax, dword [eax + ecx*4]
cmp eax, 0xeeeeeeee
jne 0x4dac66
mov ecx, dword [esp + 0x48]
add esi, 0xf4
mov dword [esp + 0x18], ebx
push esi
add ebx, edx
push 0x1000400
mov dword [esp + 0x24], edi
push 0
lea edx, [esp + 0x24]
add edi, ecx
push 0
push edx
mov ecx, ebp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], edi
call fcn.004c2b80
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret 4
cmp eax, 0xffffffff
je 0x4daca8
mov edx, dword [esi + 0xa0]
mov ecx, eax
shr ecx, 0x10
and eax, 0xffff
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 0x64]
jl 0x4dac90
cmp eax, dword [ecx + 0x68]
jg 0x4dac90
mov ecx, dword [ecx + 0x14]
mov eax, dword [ecx + eax*4]
jmp 0x4dac92
xor eax, eax
mov edx, dword [eax + 0x28]
lea ecx, [esp + 0x30]
push edx
mov edx, dword [eax + 0x2c]
push ecx
push edx
push edi
push ebx
mov ecx, ebp
call fcn.004c2c20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret 4