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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov edx, dword [ebp + 0xc]
sub esp, 0x44
push ebx
push esi
push edi
mov esi, ecx
mov ecx, dword [ebp + 8]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + 8], ecx
mov ecx, esi
mov dword [eax + 0xc], edx
call fcn.004c5f30
mov edi, dword [esi + 0x278]
mov eax, dword [esi + 0x27c]
mov edx, dword [esi + 0x280]
mov ecx, dword [esi + 0x284]
add edi, dword [esi + 0x65c]
add eax, dword [esi + 0x660]
sub edx, dword [esi + 0x664]
sub ecx, dword [esi + 0x668]
cmp dword [esi + 0x654], 0
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], edx
mov dword [ebp + 0x14], ecx
jne 0x4dd2f2
mov ebx, dword [esi]
push 0
push 0
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [ebp + 0xc]
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov eax, dword [ebx + 0x230]
mov ecx, esi
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esi + 0x678]
test ecx, ecx
je 0x4dd31a
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
test al, al
je 0x4dd31a
mov ecx, dword [esi + 0x678]
mov edx, dword [ecx]
mov eax, dword [edx + 0x58]
call eax
sub dword [ebp + 0x10], eax
mov ecx, dword [esi + 0x67c]
test ecx, ecx
je 0x4dd342
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
test al, al
je 0x4dd342
mov ecx, dword [esi + 0x67c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
call eax
sub dword [ebp + 0x14], eax
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
sub ebx, dword [ebp + 0xc]
mov ecx, dword [esi + 0x67c]
sub edi, dword [ebp + 8]
mov dword [esp + 0x2c], ebx
test ecx, ecx
je 0x4dd376
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
test al, al
je 0x4dd376
mov ecx, dword [esi + 0x67c]
add edi, dword [ecx + 0x650]
xor edx, edx
cmp dword [esi + 0x654], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edx
jle 0x4dd479
mov edx, dword [esi + 0x650]
mov eax, dword [esp + 0x10]
mov ebx, dword [edx + eax*4]
mov edx, dword [ebx]
mov eax, dword [edx + 0xc0]
mov ecx, ebx
call eax
test al, al
je 0x4dd45c
mov edx, dword [ebx]
mov eax, dword [edx + 0xf4]
mov ecx, ebx
call eax
test al, al
jne 0x4dd45c
mov eax, dword [esp + 0x2c]
mov edx, dword [ebx]
mov edx, dword [edx + 0x134]
push eax
push edi
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebx
call edx
cmp dword [esp + 0x20], 0
jne 0x4dd3ed
inc dword [esp + 0x18]
jmp 0x4dd425
mov eax, dword [ebx]
mov edx, dword [eax + 0x68]
mov ecx, ebx
call edx
cmp dword [esp + 0x20], eax
jge 0x4dd409
mov eax, dword [ebx]
mov edx, dword [eax + 0x68]
mov ecx, ebx
call edx
mov dword [esp + 0x20], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x70]
mov ecx, ebx
call edx
cmp dword [esp + 0x20], eax
jle 0x4dd425
mov eax, dword [ebx]
mov edx, dword [eax + 0x70]
mov ecx, ebx
call edx
mov dword [esp + 0x20], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x48]
lea ecx, [esp + 0x40]
push ecx
mov ecx, ebx
call edx
add eax, 8
mov dword [esp + 0x1c], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x48]
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebx
call edx
mov eax, dword [eax]
mov ecx, dword [esp + 0x1c]
add eax, dword [ecx]
add eax, dword [esp + 0x20]
add dword [esp + 0xc], eax
inc dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [esi + 0x654]
mov dword [esp + 0x10], eax
jl 0x4dd394
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x66c]
dec eax
imul ecx, eax
add edx, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], eax
jle 0x4dd4b4
mov eax, edi
sub eax, edx
cdq
idiv ecx
xor edx, edx
test eax, eax
setl dl
dec edx
and edx, eax
mov dword [esp + 0x14], edx
mov ecx, dword [esi + 0x67c]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebx
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [esp + 0x18], ebx
cmp ecx, edi
je 0x4dd4ed
mov eax, dword [ecx]
mov edx, dword [eax + 0xc0]
call edx
test al, al
je 0x4dd4ed
mov eax, dword [esi + 0x67c]
sub ebx, dword [eax + 0x654]
mov dword [esp + 0x18], ebx
cmp dword [esi + 0x654], edi
mov dword [esp + 0x10], edi
jle 0x4dd6cc
mov ecx, dword [esi + 0x650]
mov edx, dword [esp + 0x10]
mov edi, dword [ecx + edx*4]
mov eax, dword [edi]
mov edx, dword [eax + 0xc0]
mov ecx, edi
call edx
test al, al
je 0x4dd6b5
mov eax, dword [edi]
mov edx, dword [eax + 0xf4]
mov ecx, edi
call edx
test al, al
je 0x4dd544
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
mov edx, dword [eax + 0x22c]
push ecx
mov ecx, esi
call edx
jmp 0x4dd6b5
mov eax, dword [edi]
mov edx, dword [eax + 0x48]
lea ecx, [esp + 0x30]
push ecx
mov ecx, edi
call edx
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [edi]
mov edx, dword [edx + 0x134]
push ecx
push eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call edx
cmp dword [esp + 0x20], 0
mov ecx, edi
jne 0x4dd586
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov edx, dword [edi]
mov eax, dword [edx + 0x68]
call eax
cmp dword [esp + 0x20], eax
jge 0x4dd5a0
mov edx, dword [edi]
mov eax, dword [edx + 0x68]
mov ecx, edi
call eax
mov dword [esp + 0x20], eax
mov edx, dword [edi]
mov eax, dword [edx + 0x70]
mov ecx, edi
call eax
cmp dword [esp + 0x20], eax
jle 0x4dd5bc
mov edx, dword [edi]
mov eax, dword [edx + 0x70]
mov ecx, edi
call eax
mov dword [esp + 0x20], eax
mov edx, dword [edi]
mov eax, dword [edx + 0x60]
mov ecx, edi
call eax
mov dword [esp + 0x24], eax
test eax, eax
jne 0x4dd5e1
mov eax, dword [ebp + 0x14]
sub eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
sub eax, dword [ebp + 0xc]
mov dword [esp + 0x24], eax
test eax, eax
jge 0x4dd5eb
mov dword [esp + 0x24], 0
mov edx, dword [edi]
mov eax, dword [edx + 0x78]
mov ecx, edi
call eax
cmp dword [esp + 0x24], eax
jge 0x4dd607
mov edx, dword [edi]
mov eax, dword [edx + 0x78]
mov ecx, edi
call eax
mov dword [esp + 0x24], eax
mov edx, dword [edi]
mov eax, dword [edx + 0x80]
mov ecx, edi
call eax
cmp dword [esp + 0x24], eax
jle 0x4dd629
mov edx, dword [edi]
mov eax, dword [edx + 0x80]
mov ecx, edi
call eax
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
lea edx, [ecx + ebx]
mov dword [esp + 0x40], edx
mov edx, dword [ebp + 0xc]
add eax, edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x20]
add ecx, eax
mov eax, dword [esp + 0x34]
add ecx, ebx
mov ebx, dword [esp + 0x24]
add eax, ebx
mov ebx, dword [esp + 0x40]
add eax, edx
mov edx, dword [edi]
mov edx, dword [edx + 0x34]
mov dword [esp + 0x4c], eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esp + 0x54]
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 0xc], ecx
mov ecx, edi
call edx
mov ecx, dword [esp + 0x38]
mov eax, dword [esi + 0x66c]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x18]
lea edi, [eax + ecx]
add edi, dword [esp + 0x20]
add eax, ecx
add eax, dword [esp + 0x20]
add edi, edx
add ebx, edi
mov edi, dword [esp + 0x20]
add edi, ecx
add edi, edx
add dword [esp + 0xc], edi
sub dword [esp + 0x28], eax
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [esi + 0x654]
mov dword [esp + 0x10], eax
jl 0x4dd4fd
xor edi, edi
mov eax, dword [esi + 0x66c]
imul eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x67c]
add dword [esp + 0xc], eax
cmp ecx, edi
je 0x4dd879
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
mov edx, dword [ecx]
cmp dword [esp + 0xc], eax
mov eax, dword [edx + 0xc0]
jle 0x4dd7aa
call eax
mov ecx, dword [esi + 0x67c]
test al, al
je 0x4dd721
mov eax, dword [esp + 0xc]
sub eax, dword [ebp + 0x10]
add eax, dword [ebp + 8]
call fcn.004f9d80
jmp 0x4dd879
mov edx, dword [ecx]
mov eax, dword [edx + 0xc4]
push 1
call eax
mov eax, dword [esp + 0xc]
sub eax, dword [ebp + 0x10]
mov ecx, dword [esi + 0x67c]
add eax, dword [ebp + 8]
call fcn.004f9d80
mov ecx, dword [esi + 0x67c]
cmp dword [ecx + 0x654], edi
je 0x4dd795
mov eax, dword [ecx + 0x650]
cmp eax, edi
mov dword [ecx + 0x654], edi
jge 0x4dd766
mov dword [ecx + 0x654], eax
mov ebx, dword [ecx + 0x278]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [ecx + 0x27c]
mov dword [eax + 4], ebx
mov ebx, dword [ecx + 0x280]
mov dword [eax + 8], ebx
mov ebx, dword [ecx + 0x284]
mov dword [eax + 0xc], ebx
mov eax, dword [edx + 0x34]
call eax
mov ecx, dword [esi + 0x67c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
call eax
sub dword [ebp + 0x14], eax
jmp 0x4dd879
call eax
test al, al
je 0x4dd879
mov ecx, dword [esi + 0x67c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc4]
push edi
call eax
mov ecx, dword [esi + 0x67c]
cmp dword [ecx + 0x650], edi
je 0x4dd816
cmp dword [ecx + 0x654], edi
mov dword [ecx + 0x650], edi
jle 0x4dd7e7
mov dword [ecx + 0x654], edi
mov ebx, dword [ecx + 0x278]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [ecx + 0x27c]
mov dword [eax + 4], ebx
mov ebx, dword [ecx + 0x280]
mov dword [eax + 8], ebx
mov ebx, dword [ecx + 0x284]
mov dword [eax + 0xc], ebx
mov eax, dword [edx + 0x34]
call eax
mov ecx, dword [esi + 0x67c]
cmp dword [ecx + 0x654], edi
je 0x4dd869
mov eax, dword [ecx + 0x650]
cmp eax, edi
mov dword [ecx + 0x654], edi
jge 0x4dd83a
mov dword [ecx + 0x654], eax
mov ebx, dword [ecx + 0x278]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [ecx + 0x27c]
mov dword [eax + 4], ebx
mov ebx, dword [ecx + 0x280]
mov dword [eax + 8], ebx
mov ebx, dword [ecx + 0x284]
mov dword [eax + 0xc], ebx
mov eax, dword [edx + 0x34]
call eax
mov ecx, dword [esi + 0x67c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
call eax
add dword [ebp + 0x14], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [esi]
mov edx, dword [edx + 0x230]
push edi
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0xc], ecx
mov ecx, esi
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10