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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x8d294a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
lea eax, [ebp - 4]
call fcn.00409124
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x2c]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x8d26d9
inc ebx
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov esi, dword [eax + 0x2c]
mov edi, dword [ebp - 0x10]
mov edx, edi
mov eax, esi
call fcn.0044ef5c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp byte [eax + 4], 0x1e
jne 0x8d26cf
mov byte [ebp - 9], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp byte [eax + 0x4d], 0
je 0x8d25b1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.008ce79c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov byte [eax + 0x4d], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov esi, dword [eax + 0x2c]
mov byte [ebp - 0x19], 0x4a
mov edi, dword [esi + 8]
dec edi
test edi, edi
jl 0x8d25fb
inc edi
xor ebx, ebx
mov edx, ebx
mov eax, esi
call fcn.00897434
movzx eax, byte [eax + 4]
cmp al, byte [ebp - 0x19]
jne 0x8d25f7
mov byte [ebp - 0x1a], 1
mov edx, ebx
mov eax, esi
call fcn.00897434
mov dword [ebp - 0x14], eax
jmp 0x8d25ff
inc ebx
dec edi
jne 0x8d25d3
mov byte [ebp - 0x1a], 0
cmp byte [ebp - 0x1a], 0
je 0x8d263b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x2c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x84]
mov eax, dword [eax + 0x18]
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x1c]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x40]
call fcn.008977cc
jmp 0x8d266b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x2c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x84]
mov eax, dword [eax + 0x18]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x40]
xor ecx, ecx
call fcn.008977cc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov esi, dword [eax + 0x2c]
mov bl, 0x49
mov eax, dword [esi + 8]
dec eax
test eax, eax
jl 0x8d26a8
inc eax
mov dword [ebp - 0x20], eax
xor edi, edi
mov edx, edi
mov eax, esi
call fcn.00897434
cmp bl, byte [eax + 4]
jne 0x8d26a2
mov bl, 1
mov edx, edi
mov eax, esi
call fcn.00897434
mov dword [ebp - 0x14], eax
jmp 0x8d26aa
inc edi
dec dword [ebp - 0x20]
jne 0x8d2684
xor ebx, ebx
test bl, bl
je 0x8d26c0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x40]
mov dword [edx + 0x1c], eax
lea eax, [ebp - 4]
mov edx, 0x8d2964
call fcn.0040954c
jmp 0x8d26d9
inc dword [ebp - 0x10]
dec ebx
jne 0x8d2571
lea edx, [ebp - 0x34]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x2c]
call fcn.008975f0
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x38]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x2c]
call fcn.00897678
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x2c]
call fcn.008976e4
push eax
lea edx, [ebp - 0x3c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x2c]
call fcn.00897448
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov dl, 0x5b
call fcn.008cdff0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 0x84]
mov edx, dword [ebx + 8]
dec edx
mov eax, ebx
call fcn.0044ef5c
mov ebx, eax
mov eax, ebx
call fcn.00873b54
mov eax, ebx
call fcn.00873af4
test al, al
je 0x8d2789
push 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x84]
mov eax, dword [eax + 0x14]
mov ecx, ebx
call fcn.008bac50
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp dword [eax + 0x38], 0
jne 0x8d27f1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 0x84]
mov edx, dword [ebx + 8]
dec edx
mov eax, ebx
call fcn.0044ef5c
mov dword [ebp - 0x24], eax
push 0
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x40]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x3c]
push eax
push 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x84]
mov ecx, dword [eax + 0x14]
mov dl, 1
mov eax, dword [0x8a2b60]
call fcn.008c195c
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov dword [edx + 0x38], eax
jmp 0x8d281c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 0x84]
mov edx, dword [ebx + 8]
dec edx
mov eax, ebx
call fcn.0044ef5c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x28]
call fcn.008c280c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov esi, dword [eax + 0x2c]
mov bl, 0x2e
mov eax, dword [esi + 8]
dec eax
test eax, eax
jl 0x8d2859
inc eax
mov dword [ebp - 0x2c], eax
xor edi, edi
mov edx, edi
mov eax, esi
call fcn.00897434
cmp bl, byte [eax + 4]
jne 0x8d2853
mov bl, 1
mov edx, edi
mov eax, esi
call fcn.00897434
mov dword [ebp - 0x14], eax
jmp 0x8d285b
inc edi
dec dword [ebp - 0x2c]
jne 0x8d2835
xor ebx, ebx
test bl, bl
je 0x8d28cb
lea edx, [ebp - 8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x1c]
call fcn.00422c98
mov eax, dword [ebp - 8]
test eax, eax
je 0x8d2879
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x8d2898
mov eax, dword [ebp - 8]
cmp word [eax], 0x23
jne 0x8d2898
lea eax, [ebp - 8]
mov ecx, 1
mov edx, 1
call fcn.0040a6fc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x84]
mov ecx, dword [eax + 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x84]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 8]
call fcn.008b93fc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x78], 1
cmp byte [ebp - 9], 0
je 0x8d2922
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 0x84]
mov edx, dword [ebx + 8]
dec edx
mov eax, ebx
call fcn.0044ef5c
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x40]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x2c]
push eax
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x84]
mov ecx, dword [eax + 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
mov dl, 1
call fcn.008c28e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8d2951
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00409184
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409184
ret