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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff84
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
lea ebp, [esp + 0x10]
mov eax, dword [esp + 4]
cmp dword [eax + 8], 0
jle 0x8d01c4
mov eax, dword [esp + 4]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
call fcn.004b369c
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
mov edx, dword [0x8cf570]
call fcn.0040893c
mov esi, eax
lea edx, [esp + 0x64]
mov eax, esi
call fcn.008d17e4
mov eax, dword [esp + 0x64]
mov dword [ebp], eax
mov eax, dword [esp + 0x68]
mov dword [ebp + 4], eax
lea edx, [esp + 0x64]
mov eax, esi
call fcn.008d17e4
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 4]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jle 0x8d024d
mov edi, 1
mov esi, dword [esp + 4]
mov dword [esp + 0x2c], edi
mov edx, dword [esp + 0x2c]
mov eax, esi
call fcn.004b369c
mov esi, eax
mov eax, esi
mov edx, dword [0x8cf570]
call fcn.0040893c
mov esi, eax
mov eax, dword [esi + 0xc]
cmp eax, dword [ebp]
jge 0x8d0206
mov eax, dword [esi + 0xc]
jmp 0x8d0209
mov eax, dword [ebp]
mov dword [ebp], eax
mov eax, dword [esi + 0x10]
cmp eax, dword [ebp + 4]
jge 0x8d0219
mov eax, dword [esi + 0x10]
jmp 0x8d021c
mov eax, dword [ebp + 4]
mov dword [ebp + 4], eax
mov eax, esi
call fcn.008d1824
cmp eax, dword [esp + 0x18]
jg 0x8d0230
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, esi
call fcn.008d17d8
cmp eax, dword [esp + 0x1c]
jg 0x8d0245
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
inc edi
dec ebx
jne 0x8d01d5
mov dl, 1
mov eax, dword [0x50aa64]
call fcn.00514148
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
call fcn.00514a68
mov eax, dword [eax + 0x40]
mov edx, 0x8d053c
call fcn.0050d038
mov eax, dword [esp + 0xc]
call fcn.00514a68
mov eax, dword [eax + 0x40]
mov edx, 9
call fcn.0050d0b0
mov eax, dword [esp + 8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x8d033d
inc ebx
xor edi, edi
mov esi, dword [esp + 8]
mov dword [esp + 0x30], edi
mov edx, dword [esp + 0x30]
mov eax, esi
call fcn.004b369c
mov esi, eax
mov eax, esi
mov edx, dword [0x8cf764]
call fcn.0040893c
mov esi, eax
mov eax, dword [esp + 0xc]
call fcn.00514a68
mov edx, eax
lea ecx, [esp + 0x74]
mov eax, dword [esi + 0x10]
call fcn.008d0bb0
mov eax, dword [esp + 0x74]
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x78]
mov dword [esi + 0x30], eax
mov eax, dword [ebp]
cmp eax, dword [esi + 0x24]
jle 0x8d02f2
mov eax, dword [esi + 0x24]
jmp 0x8d02f5
mov eax, dword [ebp]
mov dword [ebp], eax
mov eax, dword [ebp + 4]
cmp eax, dword [esi + 0x28]
jle 0x8d0305
mov eax, dword [esi + 0x28]
jmp 0x8d0308
mov eax, dword [ebp + 4]
mov dword [ebp + 4], eax
mov eax, esi
call fcn.008d16b4
cmp eax, dword [esp + 0x18]
jg 0x8d031c
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, esi
call fcn.008d16a8
cmp eax, dword [esp + 0x1c]
jg 0x8d0331
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
inc edi
dec ebx
jne 0x8d029c
sub dword [ebp], 0xa
sub dword [ebp + 4], 0xa
mov eax, dword [esp + 4]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x8d0388
inc ebx
xor edi, edi
mov esi, dword [esp + 4]
mov dword [esp + 0x34], edi
mov edx, dword [esp + 0x34]
mov eax, esi
call fcn.004b369c
mov esi, eax
mov eax, esi
mov edx, dword [0x8cf570]
call fcn.0040893c
mov esi, eax
mov eax, dword [ebp]
sub dword [esi + 0xc], eax
mov eax, dword [ebp + 4]
sub dword [esi + 0x10], eax
inc edi
dec ebx
jne 0x8d0354
mov eax, dword [esp + 8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x8d03cf
inc ebx
xor edi, edi
mov esi, dword [esp + 8]
mov dword [esp + 0x38], edi
mov edx, dword [esp + 0x38]
mov eax, esi
call fcn.004b369c
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
mov edx, dword [0x8cf764]
call fcn.0040893c
mov esi, eax
mov eax, dword [ebp]
sub dword [esi + 0x24], eax
mov eax, dword [ebp + 4]
sub dword [esi + 0x28], eax
inc edi
dec ebx
jne 0x8d0397
mov eax, dword [esp + 4]
cmp dword [eax + 8], 0
jle 0x8d0401
mov edx, dword [esp + 0x18]
sub edx, dword [ebp]
add edx, 0xa
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov edx, dword [esp + 0x1c]
sub edx, dword [ebp + 4]
add edx, 0xa
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x8d041d
mov edx, 0x14
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov edx, 0x14
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esp + 0xc]
call fcn.00514a68
mov eax, dword [eax + 0x44]
mov edx, 0xff000010
call fcn.0050d4dc
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [esp + 0x14]
call fcn.00514a68
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x7c]
mov eax, dword [esp + 8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x8d04ac
inc ebx
xor edi, edi
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edi
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
call fcn.004b369c
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x48]
mov edx, dword [0x8cf764]
call fcn.0040893c
mov esi, eax
mov eax, dword [esp + 0xc]
call fcn.00514a68
mov edx, eax
mov eax, esi
call fcn.008d16c0
inc edi
dec ebx
jne 0x8d0468
mov eax, dword [esp + 4]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x8d0523
inc ebx
xor edi, edi
mov eax, dword [esp + 0xc]
call fcn.00514a68
mov esi, eax
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edi
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
call fcn.004b369c
mov dword [esp + 0x54], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edi
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
call fcn.004b369c
mov dword [esp + 0x60], eax
lea edx, [esp + 0x64]
mov eax, dword [esp + 0x60]
call fcn.008d17e4
lea ecx, [esp + 0x64]
mov eax, dword [esp + 0x54]
mov edx, dword [eax + 8]
mov eax, esi
call fcn.008d0548
inc edi
dec ebx
jne 0x8d04bb
mov eax, dword [esp + 0xc]
add esp, 0x7c
pop ebp
pop edi
pop esi
pop ebx
ret