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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x4010c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x4c], edx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ebx]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x28], eax
push edi
test esi, esi
jne 0x4927f8
test ecx, ecx
je 0x492daf
mov edi, dword [ebx + 0xf4]
mov dword [ebp - 0x3c], edi
test edi, edi
je 0x492daf
test ecx, ecx
jne 0x49282a
mov edx, dword [edi]
mov ecx, eax
call fcn.00492776
mov ecx, dword [ebp - 0x40]
test eax, eax
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x28]
je 0x49282a
or dword [edi + 0x1c], 0x1000
xor esi, esi
cmp byte [eax + 0xb1], 0
je 0x49285f
test ecx, ecx
jne 0x4928ed
cmp byte [edi + 0x2b], cl
je 0x49284e
cmp dword [eax + 0xac], esi
jne 0x4928ed
mov eax, dword [eax + 0xac]
mov dword [edi + 0x14], eax
cmp eax, 1
jne 0x49285f
or dword [edi + 0x1c], eax
mov ecx, 0x10000
test ecx, edx
je 0x4928d7
or dword [edi + 0x1c], ecx
xor eax, eax
mov dword [ebp - 0x30], esi
cmp ax, word [edi + 0x22]
jge 0x4928d7
mov edx, esi
mov dword [ebp - 0x2c], esi
mov ecx, dword [edi + 4]
add ecx, edx
mov dword [ebp - 0x34], ecx
mov edx, dword [ecx + 4]
mov eax, edx
and eax, 0xf0
je 0x4928ff
cmp eax, 0x10
jne 0x492898
mov byte [ecx + 8], 0x41
test byte [ecx + 0xe], 1
je 0x4928bc
movsx eax, word [edi + 0x20]
cmp eax, dword [ebp - 0x30]
je 0x4928bc
test dl, 0xf
jne 0x4928bc
and edx, 0xfffffff2
or edx, 2
mov dword [ecx + 4], edx
or dword [edi + 0x1c], 0x800
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
inc ecx
movsx eax, word [edi + 0x22]
add edx, 0x10
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edx
cmp ecx, eax
jl 0x49287b
mov edx, dword [ebp - 0x38]
test dl, dl
jns 0x49296b
mov eax, dword [edi + 0x1c]
test al, 8
je 0x492941
push 0x430368
jmp 0x4928f2
push 0x420b82
push ebx
call fcn.0045c6d7
pop ecx
pop ecx
jmp 0x492daf
test byte [ecx + 0xe], 4
je 0x49292a
mov edx, 0x420b82
call fcn.0045c557
push eax
mov eax, dword [ebp - 0x34]
push dword [eax]
push dword [edi]
push 0x430328
push ebx
call fcn.0045c6d7
add esp, 0x14
jmp 0x492daf
push dword [ecx]
push dword [edi]
push 0x43034c
push ebx
call fcn.0045c6d7
add esp, 0x10
jmp 0x492daf
test al, 4
jne 0x49295a
push dword [edi]
push 0x43039c
push ebx
call fcn.0045c6d7
add esp, 0xc
jmp 0x492daf
or eax, 0x280
mov edx, edi
mov ecx, ebx
mov dword [edi + 0x1c], eax
call fcn.00492205
mov edx, dword [edi + 0x3c]
mov ecx, dword [ebp - 0x28]
call fcn.004a2c91
mov dword [ebp - 0x30], eax
cmp dword [edi + 0x10], esi
je 0x4929a7
push dword [edi + 0x10]
mov edx, edi
mov ecx, ebx
push esi
push 4
call fcn.00484fa3
add esp, 0xc
cmp dword [ebx + 0x24], esi
je 0x4929a7
mov edx, dword [edi + 0x10]
test edx, edx
je 0x4929a4
mov ecx, dword [ebp - 0x28]
call fcn.00486cac
mov dword [edi + 0x10], esi
test byte [edi + 0x1c], 0x60
je 0x492a3b
xor eax, eax
mov dword [ebp - 0x2c], esi
mov edx, esi
mov dword [ebp - 0x34], edx
cmp ax, word [edi + 0x22]
jge 0x492a2b
mov ecx, esi
mov dword [ebp - 0x24], esi
mov eax, dword [edi + 4]
add eax, ecx
test byte [eax + 0xe], 0x60
je 0x492a35
mov edx, eax
mov ecx, edi
call fcn.00490862
push esi
push eax
push 8
mov edx, edi
mov ecx, ebx
call fcn.00484fa3
add esp, 0xc
test eax, eax
je 0x492a0f
mov ecx, dword [ebp - 0x28]
push esi
push esi
push 0x79
pop edx
call fcn.00485a5b
push eax
mov eax, dword [edi + 4]
mov edx, edi
add eax, dword [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.004907fe
add esp, 0x10
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x24]
inc dword [ebp - 0x2c]
add ecx, 0x10
movsx eax, word [edi + 0x22]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x2c], eax
jl 0x4929c6
test edx, edx
jne 0x492a3b
push 0x4303bc
jmp 0x4928f2
inc edx
mov dword [ebp - 0x34], edx
jmp 0x492a15
mov ecx, edi
call fcn.0049207f
mov eax, dword [edi + 8]
test eax, eax
je 0x492a5c
mov edi, eax
mov ecx, edi
call fcn.004920c1
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x492a4b
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x28]
cmp byte [eax + 0xb1], 0
jne 0x492d43
mov ecx, ebx
call fcn.004a5717
mov dword [ebp - 0x24], eax
test eax, eax
je 0x492daf
push esi
push esi
push esi
push 0x7a
pop edx
mov ecx, eax
call fcn.004746eb
mov al, byte [edi + 0x2b]
add esp, 0xc
test al, al
mov edx, 0x4303e8
mov ecx, 0x4303f0
cmove ecx, edx
mov edx, 0x42f394
mov dword [ebp - 0x3c], ecx
mov ecx, 0x42fa08
cmove ecx, edx
mov dword [ebp - 0x48], ecx
cmp dword [ebp - 0x40], esi
je 0x492c60
cmp byte [ebx + 0xd8], 0
je 0x492ad4
inc dword [ebx + 0x24]
mov dword [ebx + 0xc], 1
jmp 0x492daf
mov eax, dword [ebx + 0x2c]
push dword [ebp - 0x30]
mov ecx, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x2c], eax
inc eax
mov dword [ebp - 0x38], eax
inc eax
cmp dword [ebx + 0x78], esi
mov dword [ebx + 0x2c], eax
mov dword [ebp - 0x34], eax
mov eax, ebx
cmovne eax, dword [ebx + 0x78]
mov byte [eax + 0x15], 1
push dword [ebx + 0x60]
push 1
push 0x71
pop edx
call fcn.004746eb
mov ecx, dword [ebp - 0x24]
add esp, 0xc
push 0x10
pop edx
call fcn.00474c95
mov dword [ebx + 0x28], 2
mov eax, dword [ecx + 0x6c]
mov dword [ebp - 0x3c], eax
inc eax
push eax
push esi
push dword [ebp - 0x2c]
push 0xb
pop edx
call fcn.004746eb
add esp, 0xc
cmp dword [ebx + 0x24], esi
jne 0x492daf
mov edx, dword [ebp - 0x40]
mov ecx, ebx
push 0x41
call fcn.004a565e
pop ecx
test eax, eax
je 0x492daf
movzx ecx, word [eax + 0x22]
mov word [edi + 0x24], cx
mov word [edi + 0x22], cx
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
xor ecx, ecx
push eax
push dword [ebp - 0x28]
mov word [eax + 0x22], cx
mov dword [eax + 4], esi
call fcn.00490aa0
mov eax, dword [ebp - 0x2c]
mov ecx, ebx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 0x20], 0xd
mov dword [ebp - 0x18], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call fcn.004a9992
add esp, 0xc
cmp dword [ebx + 0x24], esi
jne 0x492daf
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
call fcn.00474a32
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x24]
call fcn.00474f68
mov ecx, dword [ecx + 0x6c]
push esi
push esi
mov dword [eax + 8], ecx
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
push 0xc
pop edx
call fcn.004746eb
mov ecx, dword [ebp - 0x24]
add esp, 0xc
mov esi, eax
push dword [ebp - 0x38]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0x61
pop edx
call fcn.004746eb
mov ecx, dword [ebp - 0x24]
add esp, 0xc
mov edx, edi
push 0
call fcn.0049b076
pop ecx
mov ecx, dword [ebp - 0x24]
push 0
push dword [ebp - 0x34]
push 1
push 0x7f
pop edx
call fcn.004746eb
mov ecx, dword [ebp - 0x24]
add esp, 0xc
mov edx, 0x80
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push 1
call fcn.004746eb
mov ecx, dword [ebp - 0x24]
add esp, 0xc
mov edx, esi
call fcn.00474744
mov ecx, dword [ebp - 0x24]
mov edx, esi
call fcn.00474f68
mov ecx, dword [ecx + 0x6c]
xor esi, esi
push esi
push esi
push 1
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x24]
push 0x7a
pop edx
call fcn.004746eb
mov ecx, dword [ebp - 0x28]
add esp, 0xc
mov edx, edi
call fcn.00491e33
jmp 0x492c9b
cmp dword [ebp - 0x38], esi
lea eax, [ebx + 0xcc]
mov edx, dword [ebp - 0x44]
cmovne edx, eax
mov eax, dword [edx]
mov ecx, eax
sub ecx, dword [ebx + 0xc4]
cmp byte [eax], 0x3b
je 0x492c81
add ecx, dword [edx + 4]
push dword [ebx + 0xc4]
push ecx
push dword [ebp - 0x3c]
push 0x4303f8
push dword [ebp - 0x28]
call fcn.0045b770
add esp, 0x14
push dword [ebx + 0x5c]
mov ecx, dword [ebp - 0x30]
push eax
push dword [ebx + 0x60]
mov dword [ebp - 0x2c], eax
push dword [edi]
mov eax, dword [ebp - 0x28]
push dword [edi]
shl ecx, 4
push dword [ebp - 0x48]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x3c], ecx
push dword [ecx + eax]
push 0x430408
push ebx
call fcn.0049012c
mov edx, dword [ebp - 0x2c]
add esp, 0x24
test edx, edx
je 0x492cdb
mov ecx, dword [ebp - 0x28]
call fcn.004594d9
mov edx, dword [ebp - 0x30]
mov ecx, ebx
call fcn.00491d48
test byte [edi + 0x1c], 8
je 0x492d15
cmp byte [ebx + 0xd8], 0
jne 0x492d15
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x10]
add ecx, dword [ebp - 0x3c]
mov eax, dword [ecx + 0xc]
cmp dword [eax + 0x48], esi
jne 0x492d15
push dword [ecx]
push 0x43046c
push ebx
call fcn.0049012c
add esp, 0xc
push esi
push ecx
push dword [edi]
push 0x430498
push dword [ebp - 0x28]
call fcn.0045b770
mov edx, dword [ebp - 0x30]
add esp, 0x10
mov ecx, dword [ebp - 0x24]
push eax
call fcn.004749a2
mov eax, dword [ebp - 0x28]
pop ecx
pop ecx
cmp byte [eax + 0xb1], 0
je 0x492d89
mov ecx, dword [edi + 0x3c]
mov edx, dword [edi]
push edi
lea ecx, [ecx + 8]
call fcn.0045de5b
pop ecx
test eax, eax
je 0x492d60
mov ecx, dword [ebp - 0x28]
call fcn.00459aa2
jmp 0x492daf
mov eax, dword [ebp - 0x28]
mov edx, 0x42f5a4
mov dword [ebx + 0xf4], esi
or dword [eax + 0x18], 1
mov ecx, dword [edi]
movzx eax, byte [ecx + esi]
cmp al, byte [edx + esi]
jne 0x492d89
inc esi
cmp esi, 0x10
jne 0x492d74
mov eax, dword [edi + 0x3c]
mov dword [eax + 0x48], edi
cmp dword [ebp - 0x40], 0
jne 0x492daf
cmp byte [edi + 0x2b], 0
jne 0x492daf
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
test eax, eax
jne 0x492da3
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
sub eax, dword [ebx + 0xc4]
add eax, 0xd
mov dword [edi + 0x2c], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004caec8
leave
ret