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

Disassembly:
sub esp, 0x30
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 0x18]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x44]
mov ebp, dword [edi + 8]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x18]
mov ebx, dword [eax + 0x70]
lea edx, [ebx + 1]
mov dword [eax + 0x70], edx
lea edx, [ebx - 1]
mov dword [esp + 0x30], eax
test ebx, edx
jne 0x4dd678
mov edi, dword [eax + 0x74]
mov esi, dword [eax]
lea ecx, [ebx*8 + 4]
push 0
push ecx
call fcn.004cbab0
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x54]
mov dword [edx + 0x74], eax
add esp, 8
mov eax, edx
mov eax, dword [eax + 0x74]
test eax, eax
je 0x4dd686
mov dword [eax + ebx*4], 0xffffffff
mov esi, dword [esp + 0x54]
movzx edx, byte [esi]
or eax, 0xffffffff
sub eax, ebx
mov ebx, dword [esi + 4]
mov dword [esp + 0x30], eax
mov eax, dword [ecx]
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x3c], edx
mov dword [esp + 0x2c], ebx
test eax, eax
je 0x4dd707
mov ecx, dword [ecx + 0xc]
push 0
push eax
push ecx
push 0xf
push ebp
call fcn.004cf760
mov edx, dword [esp + 0x38]
push 0
push edx
push 0
push 0xe
push ebp
call fcn.004cf760
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx + 0x74]
add esp, 0x28
test eax, eax
je 0x4dd6f8
mov edx, dword [esp + 0x4c]
mov edx, dword [edx + 0x10]
lea edx, [edx*4 + 4]
sub eax, edx
mov edx, dword [ebp + 0x20]
mov dword [eax], edx
mov eax, dword [ebp + 0x20]
mov edx, dword [esp + 0x3c]
dec eax
mov dword [ecx + 0x5c], eax
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx + 8]
mov dword [esp + 0x18], eax
cmp edx, 9
je 0x4dd76e
cmp edx, 0xd
je 0x4dd76e
mov al, byte [edi + 0x13]
test al, al
jne 0x4dd72c
mov edx, 1
add dword [edi + 0x48], edx
mov eax, dword [edi + 0x48]
jmp 0x4dd73d
dec al
movzx edx, al
mov byte [edi + 0x13], al
mov eax, dword [edi + edx*4 + 0x18]
mov edx, 1
mov dword [esp + 0x10], eax
mov al, byte [edi + 0x13]
test al, al
jne 0x4dd758
add dword [edi + 0x48], edx
mov eax, dword [edi + 0x48]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], edx
jmp 0x4dd78a
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x18]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], edx
jmp 0x4dd78a
mov edx, dword [esi + 8]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], eax
mov edx, 1
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
sub eax, dword [ecx + 4]
test byte [ecx + 0x1c], 1
mov dword [esp + 0x38], eax
je 0x4dd87e
add dword [edi + 0x48], edx
mov edx, dword [edi + 0x48]
mov ebx, dword [edi + 0x44]
mov dword [esp + 0x34], edx
lea edx, [ebx + 1]
mov dword [edi + 0x44], edx
cmp dword [ecx + 0x10], 0
mov dword [esp + 0x28], ebx
je 0x4dd7d1
mov esi, edi
call fcn.004db800
mov esi, dword [esp + 0x54]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
lea edx, [eax + ecx + 1]
mov eax, dword [esp + 0x34]
push edx
push eax
push ebx
push 0x3d
push ebp
call fcn.004cf760
mov eax, dword [esp + 0x30]
add esp, 0x14
test eax, eax
je 0x4dd823
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x18]
dec ecx
mov dword [edx + 0x5c], ecx
mov ecx, dword [ebp + 0x20]
test eax, eax
jge 0x4dd807
lea eax, [ecx - 1]
mov edx, dword [ebp]
cmp byte [edx + 0x41], 0
je 0x4dd817
mov eax, 0x5a2838
jmp 0x4dd820
mov edx, dword [ebp + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
push 0
push eax
push ecx
push 0x6c
push ebp
call fcn.004cf760
mov edx, dword [esp + 0x5c]
inc eax
mov dword [esp + 0x30], eax
mov eax, dword [edx + 0xc]
add esp, 0x14
test eax, eax
jle 0x4dd860
mov ecx, dword [esp + 0x30]
push 1
push ecx
push eax
push 0x8b
push ebp
call fcn.004cf760
add esp, 0x14
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
push ebx
push edx
push eax
push 0x66
push ebp
call fcn.004cf760
mov ebx, dword [esp + 0x40]
add esp, 0x14
xor eax, eax
jmp 0x4dd8c8
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
push 0
push ecx
push edx
push 0x6d
push ebp
call fcn.004cf760
inc eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0xc]
add esp, 0x14
test eax, eax
jle 0x4dd8bb
mov ecx, dword [esp + 0x30]
push 1
push ecx
push eax
push 0x8b
push ebp
call fcn.004cf760
add esp, 0x14
mov edx, dword [esp + 0x18]
mov dword [esp + 0x28], edx
mov eax, 1
cmp dword [esp + 0x20], 0
jle 0x4dd945
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
lea edi, [eax + ecx]
mov dword [esp + 0x38], edx
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x18]
cmp dword [ecx + 0x54], eax
jg 0x4dd902
mov edx, dword [esp + 0x28]
push ebx
push edi
push edx
push 0x30
mov esi, ebp
call fcn.004cf720
add esp, 0x10
jmp 0x4dd930
lea ecx, [eax + 1]
mov dword [ebp + 0x20], ecx
mov ecx, dword [esp + 0x28]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 4]
lea eax, [eax + edx*4]
mov byte [eax], 0x30
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
inc ebx
inc edi
sub dword [esp + 0x38], 1
jne 0x4dd8e2
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x54]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
mov eax, ecx
sub eax, 0xa
je 0x4dda90
sub eax, 1
je 0x4dd9e8
sub eax, 1
push 0
je 0x4dd99b
cmp ecx, 9
jne 0x4dd985
mov ebx, dword [esp + 0x54]
mov edx, dword [esi + 8]
push ebx
push edx
push 0x22
push ebp
call fcn.004cf760
mov eax, dword [esi + 8]
push eax
mov eax, ebx
jmp 0x4ddaa9
mov ecx, dword [esi + 4]
push 0
push ecx
push 0x14
push ebp
call fcn.004cf760
add esp, 0x14
jmp 0x4ddab3
mov esi, dword [esp + 0x14]
push esi
push ebx
push 0x54
push ebp
call fcn.004cf760
mov edx, dword [esp + 0x28]
push esi
push edx
push ebx
push 0x5f
push ebp
call fcn.004cf760
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp]
add esp, 0x28
dec eax
cmp byte [ecx + 0x41], 0
je 0x4dd9d6
mov eax, 0x5a2838
mov byte [eax + 3], 8
jmp 0x4ddab7
lea edx, [eax + eax*4]
mov eax, dword [ebp + 4]
lea eax, [eax + edx*4]
mov byte [eax + 3], 8
jmp 0x4ddab7
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push 1
push edx
push 0x32
push ebp
lea ebx, [esi + 1]
call fcn.004cf760
mov esi, dword [ebp + 4]
mov ecx, dword [ebp]
add esp, 0x14
test esi, esi
je 0x4dda59
cmp byte [ecx + 0x41], 0
jne 0x4dda59
test eax, eax
jge 0x4dda1a
mov eax, dword [ebp + 0x20]
dec eax
lea eax, [eax + eax*4]
lea esi, [esi + eax*4]
movsx eax, byte [esi + 1]
push ecx
mov ecx, dword [esi + 0x10]
call fcn.004cf9f0
xor eax, eax
add esp, 4
mov dword [esi + 0x10], eax
cmp ebx, eax
jne 0x4dda41
mov dword [esi + 0x10], eax
mov byte [esi + 1], al
jmp 0x4dda69
mov edx, dword [ebp]
push eax
push 1
push ebx
call fcn.004cbb70
add esp, 0xc
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xff
jmp 0x4dda69
push ecx
mov ecx, ebx
mov eax, 1
call fcn.004cf9f0
add esp, 4
mov ecx, dword [esp + 0x14]
push ecx
mov eax, 1
mov esi, edi
call fcn.004c6f00
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
push 0
push edx
push eax
push 0x70
push ebp
call fcn.004cf760
jmp 0x4ddab0
mov esi, dword [esp + 0x14]
mov ecx, dword [edi + 8]
push 1
push ebx
push esi
push 0x1e
push ecx
call fcn.004cf760
push esi
mov eax, 1
mov esi, edi
call fcn.004c6f00
add esp, 0x18
mov esi, dword [esp + 0x10]
test esi, esi
je 0x4ddb18
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x4ddaec
mov dl, byte [edi + 0x13]
cmp dl, 8
jae 0x4ddaec
xor eax, eax
lea ecx, [edi + 0x78]
cmp dword [ecx + 0xc], ebx
je 0x4ddb6b
inc eax
add ecx, 0x14
cmp eax, 0xa
jl 0x4ddad0
movzx edx, dl
mov dword [edi + edx*4 + 0x18], ebx
inc byte [edi + 0x13]
mov dl, byte [edi + 0x13]
cmp dl, 8
jae 0x4ddb18
xor eax, eax
lea ecx, [edi + 0x78]
lea esp, [esp]
cmp dword [ecx + 0xc], esi
je 0x4ddb74
inc eax
add ecx, 0x14
cmp eax, 0xa
jl 0x4ddb00
movzx eax, dl
mov dword [edi + eax*4 + 0x18], esi
inc byte [edi + 0x13]
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx + 0x74]
xor edx, edx
cmp eax, edx
je 0x4ddb36
mov esi, dword [esp + 0x30]
lea esi, [esi*4 + 4]
sub eax, esi
mov esi, dword [ebp + 0x20]
mov dword [eax], esi
mov eax, dword [ebp + 0x20]
dec eax
mov dword [ecx + 0x5c], eax
mov ecx, dword [esp + 0x4c]
test byte [ecx + 0x1c], 1
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x18]
je 0x4ddb8e
cmp dword [ecx + 0x54], eax
jg 0x4ddb7a
mov eax, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x20]
push edx
push eax
push 4
mov esi, ebp
call fcn.004cf720
add esp, 0x10
jmp 0x4ddbda
mov byte [ecx + 6], 1
jmp 0x4ddaec
mov byte [ecx + 6], 1
jmp 0x4ddb18
lea ecx, [eax + 1]
mov dword [ebp + 0x20], ecx
mov ecx, dword [ebp + 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax], 4
jmp 0x4ddbbe
cmp dword [ecx + 0x54], eax
jg 0x4ddbac
mov eax, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x20]
push edx
push eax
push 8
mov esi, ebp
call fcn.004cf720
add esp, 0x10
jmp 0x4ddbda
lea ecx, [eax + 1]
mov dword [ebp + 0x20], ecx
mov ecx, dword [ebp + 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax], 8
mov ecx, dword [esp + 0x18]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x1c]
mov byte [eax + 1], 0
mov dword [eax + 0x10], edx
mov dword [eax + 0xc], edx
mov dword [eax + 8], ecx
mov byte [eax + 3], 0
mov edx, dword [esp + 0x4c]
mov ecx, dword [edx + 0xc]
xor edx, edx
cmp ecx, edx
je 0x4ddc27
mov eax, dword [ebp + 0x20]
mov esi, dword [ebp + 0x18]
cmp dword [esi + 0x54], eax
jg 0x4ddc03
push edx
push edx
push ecx
push 0x10
mov esi, ebp
call fcn.004cf720
add esp, 0x10
jmp 0x4ddc27
lea esi, [eax + 1]
mov dword [ebp + 0x20], esi
mov esi, dword [ebp + 4]
lea eax, [eax + eax*4]
lea eax, [esi + eax*4]
mov byte [eax], 0x10
mov byte [eax + 3], dl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx + 0x74]
test eax, eax
je 0x4ddc43
mov edx, dword [esp + 0x24]
lea edx, [edx*4 + 4]
sub eax, edx
mov edx, dword [ebp + 0x20]
mov dword [eax], edx
mov eax, dword [ebp + 0x20]
pop edi
pop esi
dec eax
pop ebp
mov dword [ecx + 0x5c], eax
pop ebx
add esp, 0x30
ret