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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
mov eax, dword [0x2f0eb20]
xor eax, esp
mov dword [esp + 0xc8], eax
mov eax, dword [ebp + 0x10]
push ebx
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x14]
xor ebx, ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x2c], ebx
cmp eax, ebx
je 0x4b2d55
mov dword [eax], ebx
push 7
pop ecx
xor eax, eax
lea edi, [esp + 0x50]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
sub eax, ebx
push 2
mov dword [esp + 0x18], ebx
pop ecx
je 0x4b2d84
dec eax
je 0x4b2d7e
dec eax
jne 0x4b2d84
mov dword [esp + 0x50], 0x17
jmp 0x4b2d88
mov dword [esp + 0x50], ecx
jmp 0x4b2d88
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebx
test byte [ebp + 0xc], cl
je 0x4b2d95
mov dword [esp + 0x4c], ebx
test byte [ebp + 0xc], 1
je 0x4b2d9f
mov dword [esp + 0x4c], ecx
cmp dword [esi + 0x14], 0x10
mov dword [esp + 0x54], 1
jb 0x4b2db1
mov eax, dword [esi]
jmp 0x4b2db3
mov eax, esi
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x50]
push ecx
push eax
call fcn.004b31a1
add esp, 0xc
mov byte [esp + 0x13], bl
mov edi, 0x400
cmp dword [esp + 0x50], ebx
jne 0x4b2ddb
test dword [esp + 0x4c], edi
je 0x4b2e4f
cmp eax, ebx
jne 0x4b2e57
mov eax, dword [esp + 0x14]
call fcn.004b3207
test al, al
je 0x4b30fb
test byte [ebp + 0xc], 4
je 0x4b2dff
mov dword [esp + 0x50], ebx
mov byte [esp + 0x13], 1
test dword [esp + 0x4c], edi
je 0x4b2e12
and dword [esp + 0x4c], 0xfffffbff
mov byte [esp + 0x13], 1
cmp byte [esp + 0x13], bl
je 0x4b30fb
cmp dword [esp + 0x14], ebx
je 0x4b2e30
push dword [esp + 0x14]
call dword [0x2f12228]
mov dword [esp + 0x14], ebx
cmp dword [esi + 0x14], 0x10
jb 0x4b2e3a
mov eax, dword [esi]
jmp 0x4b2e3c
mov eax, esi
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x50]
push ecx
push eax
call fcn.004b31a1
add esp, 0xc
cmp eax, ebx
je 0x4b30fb
call dword [0x2f1222c]
push ebx
push 0x2bfc9e0
mov ecx, esi
mov dword [esp + 0x38], eax
call fcn.004b7274
cmp eax, 0xffffffff
je 0x4b30cd
push 8
call fcn.0047f83a
mov edi, eax
pop ecx
mov dword [esp + 0x2c], edi
cmp edi, ebx
je 0x4b30cd
push 0x2c25720
mov dword [edi], 1
call dword [0x2f12234]
mov dword [edi + 4], eax
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x4b2ead
mov edx, dword [esi]
jmp 0x4b2eaf
mov edx, esi
mov eax, dword [esi + 0x10]
add eax, edx
cmp ecx, 0x10
jb 0x4b2ebb
mov esi, dword [esi]
push eax
push esi
lea esi, [esp + 0x94]
call 0x5c60c5
cmp dword [esp + 0xa0], 8
mov eax, dword [esp + 0x8c]
jae 0x4b2edc
mov eax, esi
lea ecx, [esp + 0x28]
push ecx
push edi
push eax
call 0x724cfa
add esp, 0xc
test eax, eax
jne 0x4b30b7
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x34], eax
cmp eax, ebx
je 0x4b30a2
mov eax, dword [esp + 0x34]
cmp word [eax + 8], 1
jne 0x4b3001
push dword [eax + 0x18]
call dword [0x2f12238]
mov esi, eax
cmp esi, ebx
je 0x4b3001
mov ecx, esi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b2f59
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x78]
call fcn.0048829c
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x40]
call fcn.004b2b46
pop ecx
push 0
push 1
lea ecx, [esp + 0x78]
mov bl, al
call fcn.004883d5
test bl, bl
je 0x4b2ff2
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x3c]
cmp eax, edi
jae 0x4b2fc8
cmp dword [esp + 0x18], eax
ja 0x4b2fc8
mov esi, eax
sub esi, dword [esp + 0x18]
cmp edi, dword [esp + 0x20]
jne 0x4b2fba
lea edx, [esp + 0x18]
call 0x8fa9d9
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x4b2feb
and esi, 0xfffffff0
add esi, dword [esp + 0x18]
push esi
jmp 0x4b2fe4
cmp edi, dword [esp + 0x20]
jne 0x4b2fdb
lea edx, [esp + 0x18]
call 0x8fa9d9
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x4b2feb
lea eax, [esp + 0x3c]
push eax
mov ecx, edi
call fcn.004b1d11
add edi, 0x10
mov dword [esp + 0x1c], edi
lea ecx, [esp + 0x3c]
call fcn.0049bebf
mov edi, dword [esp + 0x2c]
xor ebx, ebx
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
mov dword [esp + 0x34], eax
cmp eax, ebx
jne 0x4b2f0f
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x18], eax
je 0x4b30a2
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0xac]
push eax
lea edi, [esp + 0x20]
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], 0
call 0x8ec408
mov esi, dword [esp + 0x40]
pop ecx
pop ecx
call fcn.004b3eeb
lea eax, [esp + 0xa8]
call fcn.004b3e7e
push ebx
push 1
lea ecx, [esp + 0x78]
call fcn.004883d5
push 1
push dword [esp + 0x2c]
call dword [0x2a2d0d4]
push dword [esp + 0x2c]
call fcn.00483dfc
pop ecx
mov esi, edi
call 0x8fa9a5
push ebx
push 1
lea ecx, [esp + 0x94]
call fcn.0048631b
jmp 0x4b312c
push 1
push dword [esp + 0x2c]
call dword [0x2a2d0d4]
lea esi, [esp + 0x18]
call 0x8fa9a5
push edi
call fcn.00483dfc
pop ecx
push ebx
push 1
lea ecx, [esp + 0x94]
call fcn.0048631b
mov eax, dword [esp + 0x6c]
cmp eax, ebx
je 0x4b30db
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
cmp dword [esp + 0x30], 0x2af9
je 0x4b30f6
cmp dword [esp + 0x30], 0x2afc
je 0x4b30f6
mov eax, 0xffffff77
jmp 0x4b312e
push 0xffffffffffffff97
pop eax
jmp 0x4b312e
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0xa8]
push eax
call fcn.004b32cb
mov esi, dword [esp + 0x3c]
pop ecx
call fcn.004b3eeb
lea eax, [esp + 0xa8]
call fcn.004b3e7e
push dword [esp + 0x14]
call dword [0x2f12228]
xor eax, eax
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004825c5
mov esp, ebp
pop ebp
ret