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

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x1c]
mov edx, dword [ebx + 8]
test edx, edx
push ebp
push esi
push edi
jne 0x4bdd37
mov edi, dword [esp + 0x24]
mov eax, dword [edi]
test eax, eax
mov dword [esp + 0x28], eax
je 0x4bdc70
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x4bdc42
mov ecx, dword [eax]
cmp byte [ecx], 0
jne 0x4bdc65
mov edx, dword [eax]
mov eax, dword [str._null]
mov dword [edx], eax
mov cx, word [0x5fa3b0]
mov word [edx + 4], cx
mov edx, dword [esp + 0x28]
mov dword [edx + 0xc], 1
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x40]
test eax, eax
mov dword [esp + 0x28], eax
jne 0x4bdc34
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, dword [edi]
mov edx, dword [esp + 0x20]
push 0x63
push esi
push eax
push ebx
push ecx
push edx
call fcn.0051c6f0
mov ebp, eax
mov ecx, 1
add esp, 0x18
cmp ebp, ecx
jne 0x4bdcb9
mov eax, dword [ebx + 8]
cmp eax, 2
je 0x4bdcb9
cmp eax, 3
je 0x4bdcb9
push 6
push esi
push ebx
call fcn.0048c510
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [edi]
test eax, eax
mov dword [esp + 0x28], eax
je 0x4bdcfa
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4bdcea
mov eax, dword [eax]
push str._null
push eax
call fcn.005f1860
add esp, 8
test eax, eax
jne 0x4bdce6
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
mov byte [edx], al
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x40]
test eax, eax
mov dword [esp + 0x28], eax
jne 0x4bdcc3
mov ecx, 1
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x4bdd2d
mov dword [eax + 0x1c], ecx
cmp dword [ebx + 8], 2
jl 0x4bdd2d
mov eax, dword [ebx + 0x40]
mov eax, dword [eax + 0x40]
test eax, eax
je 0x4bdd2d
mov dword [eax + 0x1c], ecx
cmp dword [ebx + 8], 3
jl 0x4bdd2d
mov edx, dword [ebx + 0x40]
mov eax, dword [edx + 0x40]
mov eax, dword [eax + 0x40]
test eax, eax
je 0x4bdd2d
mov dword [eax + 0x1c], ecx
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret
mov ecx, dword [ebx + 0x40]
test ecx, ecx
je 0x4bdfdf
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x4bdfdf
cmp edx, 3
jne 0x4bdd5d
mov esi, dword [eax + 0x40]
test esi, esi
je 0x4bdfdf
mov esi, dword [ecx + 0x1c]
mov edi, 1
cmp esi, edi
jne 0x4bde25
cmp dword [eax + 0x1c], edi
jne 0x4bde25
cmp edx, 3
jne 0x4bdd87
mov ecx, dword [eax + 0x40]
cmp dword [ecx + 0x1c], edi
jne 0x4bde25
mov esi, dword [esp + 0x2c]
mov byte [esi], 0
mov eax, dword [ebx + 0x40]
mov dword [esp + 0x10], 0
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x4bdf19
mov edx, dword [eax]
push edx
push str.__if___s_____return_1_____else____return_0_
push esi
call fcn.005d9929
push 0
push esi
push 0
call fcn.004e8850
add esp, 0x18
test eax, eax
mov dword [esp + 0x28], eax
jne 0x4bde2f
push 2
push 0
push 0
push 0
call fcn.0048bd90
add esp, 0x10
xor edi, edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4bddee
lea edx, [esp + 0x10]
push edx
call fcn.004e8c50
add esp, 4
mov eax, dword [ebx + 8]
test eax, eax
jle 0x4bde1e
mov esi, dword [esp + 0x24]
lea esp, [esp]
mov eax, dword [ebx + 0x40]
mov ecx, dword [esi]
push eax
push ecx
call fcn.004e8a00
mov dword [esi], eax
mov ecx, dword [ebx + 8]
add esp, 8
dec ecx
mov eax, ecx
test eax, eax
mov dword [ebx + 8], ecx
jg 0x4bde00
mov dword [ebx + 8], 0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov ebp, dword [esp + 0x40]
test ebp, ebp
je 0x4bde7a
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4bde7a
cmp ebp, 1
jle 0x4bde7a
mov eax, dword [esp + 0x10]
jmp 0x4bde50
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + edi*4]
test ecx, ecx
je 0x4bde7e
push 0
push ecx
push eax
call fcn.004e8850
add esp, 0xc
test eax, eax
je 0x4bddc7
inc edi
cmp edi, ebp
mov dword [esp + 0x10], eax
jl 0x4bde50
jmp 0x4bde7e
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x64]
push 0
push edx
mov edx, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x78]
push 0
push eax
mov eax, dword [esp + 0x88]
push edx
mov edx, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x70]
xor ecx, ecx
push 0
test edi, edi
setne cl
push esi
push eax
mov eax, dword [esp + 0xa8]
push edx
mov edx, dword [esp + 0x70]
inc ecx
inc eax
push eax
push ecx
mov ecx, dword [esp + 0x80]
push 0
push ecx
push edx
call fcn.00441110
mov edi, eax
lea eax, [esp + 0x8c]
push eax
call fcn.004e8c50
add esp, 0x68
cmp edi, 3
jne 0x4bddd7
cmp byte [esi], 0
mov edi, 2
je 0x4bdfbf
push esi
call fcn.0051c3e0
add esp, 4
test eax, eax
je 0x4bdf91
push esi
call fcn.005da144
fstp qword [esp + 0x18]
fld qword [esp + 0x18]
add esp, 4
fcomp qword [0x5f56a0]
fnstsw ax
test ah, 0x44
jp 0x4bdf7a
cmp dword [ebx + 8], 3
jne 0x4bdf72
mov ecx, dword [ebx + 0x40]
mov edx, dword [ecx + 0x40]
mov eax, dword [edx + 0x40]
mov ecx, dword [eax]
mov al, byte [ecx]
inc ecx
mov byte [esi], al
inc esi
test al, al
jne 0x4bdf63
jmp 0x4bddd9
mov byte [esi], 0
jmp 0x4bddd9
mov ecx, dword [ebx + 0x40]
mov edx, dword [ecx + 0x40]
mov ecx, dword [edx]
mov al, byte [ecx]
inc ecx
mov byte [esi], al
inc esi
test al, al
jne 0x4bdf82
jmp 0x4bddd9
cmp byte [esi], 0
je 0x4bdfbf
push str._false
push esi
call fcn.005f1860
add esp, 8
test eax, eax
je 0x4bdfbf
mov eax, dword [ebx + 0x40]
mov ecx, dword [eax + 0x40]
mov ecx, dword [ecx]
mov al, byte [ecx]
inc ecx
mov byte [esi], al
inc esi
test al, al
jne 0x4bdfb0
jmp 0x4bddd9
cmp dword [ebx + 8], 3
jne 0x4bdf72
mov edx, dword [ebx + 0x40]
mov eax, dword [edx + 0x40]
mov ecx, dword [eax + 0x40]
mov ecx, dword [ecx]
mov al, byte [ecx]
inc ecx
mov byte [esi], al
inc esi
test al, al
jne 0x4bdfd0
jmp 0x4bddd9
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0xc
ret