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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e9058
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x57af80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x38], ebx
mov eax, dword [0x502e94]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x44], eax
mov edi, edi
lea edi, [ebx + 0x68]
test eax, eax
jne 0x43b85a
lea edi, [ebx + 0x64]
mov eax, dword [edi]
mov eax, dword [eax]
cmp eax, 1
je 0x43b86e
test eax, eax
je 0x43b86e
mov ecx, edi
call fcn.00436090
mov eax, dword [edi]
cmp dword [eax + 0xc], 0
je 0x43b87b
mov esi, dword [eax + 0x14]
jmp 0x43b87e
lea esi, [eax + 8]
mov eax, dword [eax]
cmp eax, 1
je 0x43b890
test eax, eax
je 0x43b890
mov ecx, edi
call fcn.00436090
mov edi, dword [edi]
add edi, 8
cmp esi, edi
je 0x43bb9d
lea ecx, [ecx]
mov eax, dword [esi + 0x10]
lea ebx, [esi + 0x10]
shr eax, 4
mov dword [ebp - 0x3c], ebx
test al, 1
je 0x43b9db
mov al, byte [ebx]
and al, 1
mov byte [ebp - 0x4d], al
je 0x43b939
mov ecx, dword [ebp - 0x38]
movzx eax, word [ebx + 8]
add ecx, 0xa0
mov dword [ebp - 0x40], eax
xor eax, eax
mov dword [ebp - 0x54], eax
mov edx, dword [ecx]
mov dword [ebp - 0x4c], edx
mov ebx, dword [edx + 0x18]
cmp ebx, eax
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x3c]
je 0x43b8ed
mov eax, dword [edx + 0x1c]
xor eax, dword [ebp - 0x40]
mov dword [ebp - 0x54], eax
cmp dword [edx + 0x18], 0
je 0x43b92e
xor edx, edx
mov ecx, dword [ebp - 0x4c]
div dword [ebp - 0x34]
mov eax, dword [ecx + 4]
lea ecx, [eax + edx*4]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ecx]
cmp eax, edx
je 0x43b92e
lea ebx, [ebx]
mov ebx, dword [ebp - 0x54]
cmp ebx, dword [eax + 4]
mov ebx, dword [ebp - 0x3c]
jne 0x43b926
mov ebx, dword [ebp - 0x40]
cmp ebx, dword [eax + 8]
mov ebx, dword [ebp - 0x3c]
je 0x43b92e
mov ecx, eax
mov eax, dword [ecx]
cmp eax, edx
jne 0x43b910
cmp dword [ecx], edx
je 0x43b9cb
mov al, byte [ebp - 0x4d]
test al, al
jne 0x43bb88
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x43b959
cmp dword [ebx + 0x10], eax
jne 0x43b952
mov dword [ebp - 0x4c], eax
jmp 0x43b95f
test eax, eax
jne 0x43b959
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x38]
xor eax, eax
add ecx, 0x9c
mov dword [ebp - 0x54], eax
mov edx, dword [ecx]
mov dword [ebp - 0x40], edx
mov ebx, dword [edx + 0x18]
cmp ebx, eax
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x3c]
je 0x43b988
mov eax, dword [edx + 0x1c]
xor eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
cmp dword [edx + 0x18], 0
je 0x43b9c3
xor edx, edx
mov ecx, dword [ebp - 0x40]
div dword [ebp - 0x34]
mov eax, dword [ecx + 4]
lea ecx, [eax + edx*4]
mov edx, dword [ebp - 0x40]
mov eax, dword [ecx]
cmp eax, edx
je 0x43b9c3
mov ebx, dword [ebp - 0x54]
cmp ebx, dword [eax + 4]
mov ebx, dword [ebp - 0x3c]
jne 0x43b9bb
mov ebx, dword [ebp - 0x4c]
cmp ebx, dword [eax + 8]
mov ebx, dword [ebp - 0x3c]
je 0x43b9c3
mov ecx, eax
mov eax, dword [ecx]
cmp eax, edx
jne 0x43b9a5
cmp dword [ecx], edx
jne 0x43bb88
push ebx
mov ebx, dword [ebp - 0x38]
mov ecx, ebx
call fcn.0043aa60
jmp 0x43bb8b
lea ecx, [ebx + 0x24]
call dword [0x5024f4]
cmp eax, dword [ebx + 0x20]
jle 0x43bb88
cmp dword [ebx + 4], 1
jne 0x43bb33
test byte [ebx], 1
je 0x43ba05
movzx eax, word [ebx + 8]
lea ecx, [ebp - 0x18]
jmp 0x43ba1e
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x43ba18
cmp dword [ebx + 0x10], eax
je 0x43ba1b
test eax, eax
jne 0x43ba18
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0xc]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
call fcn.00435760
mov eax, dword [ebx]
shr eax, 2
test al, 1
je 0x43bb42
test byte [ebx], 1
movzx eax, word [ebx + 8]
je 0x43ba45
add eax, 0x186a0
mov ebx, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebx + 0x3c]
call fcn.00428840
mov eax, dword [ebx + 0x3c]
lea ecx, [ebp - 0x2c]
mov ebx, dword [eax + 0x18]
mov eax, dword [eax + 4]
mov dword [ebp - 0x30], eax
call dword [0x5023c0]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], 0
call dword [0x502ed8]
lea eax, [ebp - 0x58]
mov dword [ebp - 0x28], ebx
push eax
lea ecx, [ebp - 0x2c]
call dword [0x5024d0]
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x24], eax
call dword [0x502f14]
push 0x505a70
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call dword [0x502f0c]
mov eax, dword [ebp - 0x3c]
test byte [eax], 1
movzx eax, word [eax + 8]
je 0x43babe
add eax, 0x186a0
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
call dword [0x502e74]
lea ecx, [ebp - 0x48]
call dword [0x502f10]
mov eax, dword [ebp - 0x30]
sub esp, 0x14
mov ecx, esp
mov dword [ebp - 0x34], ecx
mov dword [ecx], eax
lea ebx, [ecx + 4]
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
call dword [0x502ee8]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x34]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x24]
mov dword [ecx + 0xc], eax
lea eax, [ebp - 0x20]
push eax
add ecx, 0x10
call dword [0x502ed4]
mov ecx, dword [ebp - 0x38]
call fcn.004b3e60
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call dword [0x502f10]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call dword [0x502f14]
jmp 0x43bb3f
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004357f0
mov ebx, dword [ebp - 0x3c]
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x43bb65
push 0
push 0
push 0
call dword [0x5028ac]
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x78]
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x34]
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x43bb88
push 0
push 0
push 0
call dword [0x5028ac]
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x78]
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x34]
mov ebx, dword [ebp - 0x38]
mov ecx, esi
call dword [0x5024b0]
mov esi, eax
cmp esi, edi
jne 0x43b8a0
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp eax, 2
jl 0x43b850
lea ecx, [ebp - 0x14]
call dword [0x502ef0]
lea ecx, [ebp - 0x18]
mov esi, eax
call dword [0x502ef0]
mov ecx, dword [ebp - 0x14]
add eax, esi
mov dword [ebp - 0x58], eax
mov edx, dword [ecx]
cmp edx, 1
je 0x43bbdf
test edx, edx
je 0x43bbdf
push dword [ecx + 4]
lea ecx, [ebp - 0x14]
call fcn.00435e00
lea ecx, [ebp - 0x14]
call dword [0x502e7c]
mov esi, eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
cmp ecx, 1
je 0x43bc03
test ecx, ecx
je 0x43bc03
push dword [eax + 4]
lea ecx, [ebp - 0x14]
call fcn.00435e00
lea ecx, [ebp - 0x14]
call dword [0x502e78]
mov ecx, eax
mov dword [ebp - 0x48], 0
sub ecx, esi
xor edx, edx
add ecx, 3
shr ecx, 2
cmp esi, eax
cmova ecx, edx
mov dword [ebp - 0x34], ecx
test ecx, ecx
je 0x43bc89
jmp 0x43bc30
mov eax, dword [esi]
mov dword [ebp - 0x44], eax
mov eax, dword [ebx + 0x64]
mov eax, dword [eax]
cmp eax, 1
je 0x43bc4b
test eax, eax
je 0x43bc4b
lea ecx, [ebx + 0x64]
call fcn.00436090
mov edi, dword [ebx + 0x64]
lea eax, [ebp - 0x44]
push eax
mov ecx, edi
call fcn.00436640
test eax, eax
je 0x43bc7a
lea ecx, [ecx]
push eax
mov ecx, edi
call fcn.00435d10
mov edi, dword [ebx + 0x64]
lea eax, [ebp - 0x44]
push eax
mov ecx, edi
call fcn.00436640
test eax, eax
jne 0x43bc60
mov ecx, dword [ebp - 0x48]
add esi, 4
inc ecx
mov dword [ebp - 0x48], ecx
cmp ecx, dword [ebp - 0x34]
jne 0x43bc30
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
cmp ecx, 1
je 0x43bca2
test ecx, ecx
je 0x43bca2
push dword [eax + 4]
lea ecx, [ebp - 0x18]
call fcn.00435e00
lea ecx, [ebp - 0x18]
call dword [0x502e7c]
mov esi, eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
cmp ecx, 1
je 0x43bcc6
test ecx, ecx
je 0x43bcc6
push dword [eax + 4]
lea ecx, [ebp - 0x18]
call fcn.00435e00
lea ecx, [ebp - 0x18]
call dword [0x502e78]
mov ecx, eax
mov dword [ebp - 0x48], 0
sub ecx, esi
xor edx, edx
add ecx, 3
shr ecx, 2
cmp esi, eax
cmova ecx, edx
mov dword [ebp - 0x34], ecx
test ecx, ecx
je 0x43bd49
mov ebx, dword [ebp - 0x38]
mov eax, dword [esi]
mov dword [ebp - 0x44], eax
mov eax, dword [ebx + 0x68]
mov eax, dword [eax]
cmp eax, 1
je 0x43bd0c
test eax, eax
je 0x43bd0c
lea ecx, [ebx + 0x68]
call fcn.00436090
mov edi, dword [ebx + 0x68]
lea eax, [ebp - 0x44]
push eax
mov ecx, edi
call fcn.00436640
test eax, eax
je 0x43bd3a
mov edi, edi
push eax
mov ecx, edi
call fcn.00435d10
mov edi, dword [ebx + 0x68]
lea eax, [ebp - 0x44]
push eax
mov ecx, edi
call fcn.00436640
test eax, eax
jne 0x43bd20
mov ecx, dword [ebp - 0x48]
add esi, 4
inc ecx
mov dword [ebp - 0x48], ecx
cmp ecx, dword [ebp - 0x34]
jne 0x43bcf1
mov ebx, dword [ebp - 0x38]
mov ecx, ebx
push dword [ebp - 0x58]
mov eax, dword [ebx + 0x3c]
push dword [eax + 4]
call fcn.004b3f50
lea ecx, [ebp - 0x14]
call dword [0x502f3c]
test al, al
je 0x43bd76
lea ecx, [ebp - 0x18]
call dword [0x502f3c]
test al, al
jne 0x43bd7d
mov ecx, ebx
call fcn.0043b470
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
cmp ecx, 1
je 0x43bd96
test ecx, ecx
je 0x43bd96
push dword [eax + 4]
lea ecx, [ebp - 0x1c]
call fcn.00435ed0
lea ecx, [ebp - 0x1c]
call dword [0x502e7c]
mov esi, eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
cmp ecx, 1
je 0x43bdba
test ecx, ecx
je 0x43bdba
push dword [eax + 4]
lea ecx, [ebp - 0x1c]
call fcn.00435ed0
lea ecx, [ebp - 0x1c]
call dword [0x502e78]
mov ecx, eax
xor edx, edx
sub ecx, esi
xor ebx, ebx
add ecx, 3
shr ecx, 2
cmp esi, eax
cmova ecx, edx
mov dword [ebp - 0x34], ecx
test ecx, ecx
je 0x43be06
lea ecx, [ecx]
mov edi, dword [esi]
mov ecx, dword [ebp - 0x38]
push 1
push edi
mov dword [edi + 4], 0
call fcn.0043a2f0
mov ecx, dword [ebp - 0x38]
push edi
call fcn.0043adf0
inc ebx
lea esi, [esi + 4]
cmp ebx, dword [ebp - 0x34]
jne 0x43bde0
mov eax, dword [ebp - 0x1c]
or esi, 0xffffffff
mov edi, dword [0x502ef4]
mov byte [ebp - 4], 1
mov ecx, dword [eax]
test ecx, ecx
je 0x43be30
cmp ecx, esi
je 0x43be36
mov ecx, esi
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x43be36
mov eax, dword [ebp - 0x1c]
push eax
call edi
add esp, 4
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0
mov ecx, dword [eax]
test ecx, ecx
je 0x43be58
cmp ecx, 0xffffffff
je 0x43be5e
mov ecx, esi
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x43be5e
mov eax, dword [ebp - 0x18]
push eax
call edi
add esp, 4
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [eax]
test ecx, ecx
je 0x43be82
cmp ecx, 0xffffffff
je 0x43be88
lock xadd dword [eax], esi
dec esi
setne al
test al, al
jne 0x43be88
mov eax, dword [ebp - 0x14]
push eax
call edi
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004df262
mov esp, ebp
pop ebp
ret