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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
and dword [ebp - 8], 0
and dword [ebp - 0xc], 0
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
dec eax
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
je 0x499e5a
dec eax
je 0x499e3d
dec eax
je 0x499e20
sub eax, 3
jne 0x499f36
mov esi, dword [esi + 0xf8]
test esi, esi
je 0x499f36
mov edi, esi
lea esi, [ebp - 8]
jmp 0x499e7c
mov edi, dword [esi + 0xfc]
test edi, edi
je 0x499e35
lea esi, [ebp - 8]
call fcn.0046074a
mov esi, dword [ebp - 4]
mov edi, dword [esi + 0x148]
jmp 0x499e75
mov edi, dword [esi + 0xf4]
test edi, edi
je 0x499e52
lea esi, [ebp - 8]
call fcn.0046074a
mov esi, dword [ebp - 4]
mov edi, dword [esi + 0x144]
jmp 0x499e75
mov edi, dword [esi + 0xe8]
test edi, edi
je 0x499e6f
lea esi, [ebp - 8]
call fcn.0046074a
mov esi, dword [ebp - 4]
mov edi, dword [esi + 0x140]
test edi, edi
je 0x499e84
lea esi, [ebp - 0xc]
call fcn.0046074a
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 8]
test eax, eax
jne 0x499e9b
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x499f36
jmp 0x499f30
and dword [ebp - 0x10], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 0x63ec50
push eax
call dword [ecx]
test eax, eax
js 0x499f13
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
xor edi, edi
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x499f13
mov eax, dword [ebp - 0x10]
and dword [ebp - 4], 0
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push edi
push eax
call dword [ecx + 0x1c]
test eax, eax
js 0x499f00
mov eax, dword [ebp - 4]
push dword [0x6be720]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
test eax, eax
je 0x499f00
mov eax, dword [ebp - 4]
push dword [0x6be6cc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x74]
cmp eax, dword [ebx + 4]
je 0x499f3f
mov eax, dword [ebp - 4]
test eax, eax
je 0x499f0d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc edi
cmp edi, dword [ebp - 0x14]
jl 0x499ec3
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x499f20
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x499f2d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
test byte [ebx + 8], 8
je 0x499f5a
push dword [ebx + 0x18]
mov eax, dword [ebp - 4]
push dword [0x6be6c0]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xcc]
test byte [ebx + 8], 0x10
je 0x499fa0
cmp dword [ebx], 1
jne 0x499f8c
mov eax, dword [ebx + 0x1c]
mov edi, 0x404
cmp eax, 0xffffffff
jne 0x499f7c
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x78]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push eax
push edi
push ecx
call dword [edx + 0xa8]
jmp 0x499fa0
push dword [ebx + 0x1c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push 0x404
push eax
call dword [ecx + 0xa8]
test byte [ebx + 8], 0x40
je 0x499fc1
push dword [ebx + 0x20]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push 0x410
push eax
call dword [ecx + 0xcc]
mov eax, esi
call fcn.00481527
test byte [ebx + 8], 0x20
je 0x499fdc
push dword [ebx + 0x24]
mov eax, dword [ebp - 4]
push dword [0x6be6d0]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xa4]
test byte [ebx + 8], 4
je 0x49a030
mov ecx, dword [ebx + 0x14]
and dword [ebp - 0x14], 0
test ecx, ecx
je 0x49a030
call fcn.0048dbbe
mov ecx, dword [0x6bcd24]
mov edx, dword [ecx]
push 1
lea esi, [ebp - 0x14]
push esi
push 0x63b408
push eax
push ecx
call dword [edx + 0x3c]
test eax, eax
js 0x49a023
push dword [ebp - 0x14]
mov eax, dword [ebp - 4]
push dword [0x6be6ac]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc8]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x49a030
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test byte [ebx + 8], 2
je 0x49a060
push dword [ebp - 0xc]
mov eax, dword [ebp - 4]
push dword [0x6be6a8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc8]
push dword [ebx + 0x10]
mov eax, dword [ebp - 4]
push dword [0x6be6a4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xa4]
test byte [ebx + 8], 0x80
je 0x49a07b
push dword [ebx + 0x2c]
mov eax, dword [ebp - 4]
push dword [0x6be6d4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xa4]
test dword [ebx + 8], 0x100
je 0x49a099
push dword [ebx + 0x30]
mov eax, dword [ebp - 4]
push dword [0x6be6d8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xa4]
test dword [ebx + 8], 0x200
je 0x49a0b7
push dword [ebx + 0x28]
mov eax, dword [ebp - 4]
push dword [0x6be6f8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xa4]
mov eax, dword [ebp - 4]
test eax, eax
je 0x49a0c4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x49a0d1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x49a0de
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
inc eax
jmp 0x499f38