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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x613285
sub esp, 0x84
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x10]
test edx, edx
jne 0x612944
xor ecx, ecx
xor ebx, ebx
mov esi, dword [esp + 0x90]
mov ebp, dword [esp + 0x8c]
xor eax, eax
jmp 0x612976
mov eax, dword [edx]
mov dword [esp], ecx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x90]
mov dword [esp + 8], ebx
call eax
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x88]
mov edi, ebx
movzx ebx, byte [edx + 5]
test bl, bl
jne 0x613272
mov dword [esp + 0x60], ebp
mov dword [esp + 0x40], esi
mov byte [esp + 0x23], al
test ecx, ecx
jne 0x612a05
movzx ebx, byte [edx + 4]
test bl, bl
je 0x612a05
test esi, esi
jne 0x612a05
lea eax, [0x6b8560]
mov dword [esp], eax
call fcn.0040bd30
mov edi, dword [esp + 4]
mov dword [edi + 4], 0
mov eax, dword [0x8f52e0]
test eax, eax
jne 0x6129d2
mov ecx, dword [esp + 0x60]
mov dword [edi], ecx
jmp 0x6129dd
mov eax, dword [esp + 0x60]
call fcn.004642e0
mov ecx, eax
mov dword [edi + 0xc], 2
lea edx, [0x6d2562]
mov dword [edi + 8], edx
movzx eax, byte [esp + 0x23]
mov edx, dword [esp + 0x88]
mov ebp, ecx
mov esi, dword [esp + 0x40]
lea ecx, [0x73c160]
mov dword [esp + 0x34], ecx
mov ebx, edi
lea edi, [esp + 0x64]
xor eax, eax
call fcn.00464578
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], esi
movzx eax, byte [esp + 0x23]
mov ecx, dword [esp + 0x34]
jmp 0x612a3d
mov edx, dword [esp + 0x88]
mov ebp, dword [esp + 0x60]
mov esi, eax
movzx eax, byte [esp + 0x23]
mov ebx, edi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x34], ecx
mov edi, dword [esp + 0x78]
lea ebp, [esp + 0x64]
cmp dword [ebp + 4], edi
jle 0x612d76
mov byte [esp + 0x23], al
mov dword [esp], ebp
call fcn.00613c10
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x612b17
mov edx, dword [esp + 0x34]
test edx, edx
je 0x612a92
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x60]
lea ebp, [0x6d2562]
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x54]
jmp 0x612b0d
mov ebx, dword [esp + 0x88]
movzx ebp, byte [ebx + 4]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x612abb
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x60]
lea ebp, [0x6d2562]
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x54]
jmp 0x612b0d
lea eax, [0x6b8560]
mov dword [esp], eax
call fcn.0040bd30
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x40]
mov dword [edi + 4], eax
mov ecx, dword [0x8f52e0]
test ecx, ecx
jne 0x612ae6
mov edx, dword [esp + 0x60]
mov dword [edi], edx
jmp 0x612af7
mov ecx, eax
mov eax, dword [esp + 0x60]
call fcn.004642e0
mov eax, ecx
mov edx, dword [esp + 0x60]
mov dword [edi + 0xc], 2
lea ebp, [0x6d2562]
mov dword [edi + 8], ebp
lea ecx, [0x73c160]
movzx ebx, byte [esp + 0x23]
jmp 0x612ce1
cmp ecx, 4
jge 0x612b20
xor edx, edx
jmp 0x612b51
mov dword [esp + 0x50], eax
mov dword [esp + 0x30], ecx
mov dword [esp], eax
lea ecx, [0x6d2a13]
mov dword [esp + 4], ecx
mov dword [esp + 8], 4
call fcn.00402ab0
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x30]
mov edx, eax
mov eax, dword [esp + 0x50]
test dl, dl
jne 0x612b99
mov edx, dword [esp + 0x34]
test edx, edx
je 0x612b65
mov ecx, edx
mov ebx, dword [esp + 0x54]
jmp 0x612b84
mov edx, dword [esp + 0x88]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00613ff0
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
movzx edx, byte [esp + 0x23]
mov eax, ecx
mov ecx, ebx
mov ebx, dword [esp + 0x88]
jmp 0x612ccd
cmp ecx, 4
jb 0x613255
add ecx, 0xfffffffc
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 4
add eax, ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.006144a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test edx, edx
je 0x612bfb
mov ebp, dword [esp + 0x34]
test ebp, ebp
je 0x612bdf
mov edx, ebp
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x40]
lea ebp, [0x6d2562]
mov ecx, edx
mov edi, ebx
mov edx, dword [esp + 0x60]
movzx ebx, byte [esp + 0x23]
jmp 0x612ce1
mov dword [esp + 0x24], ecx
mov dword [esp + 0x48], eax
movzx edx, byte [esp + 0x23]
test dl, dl
je 0x612c13
mov edx, 1
jmp 0x612c32
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0060bbb0
mov eax, dword [esp + 8]
test eax, eax
setne al
mov ecx, dword [esp + 0x24]
mov edx, eax
mov eax, dword [esp + 0x48]
mov byte [esp + 0x23], dl
lea ebx, [esp + 0x64]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00613cf0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x612c5f
mov ebx, dword [esp + 0x88]
mov ecx, dword [esp + 0x54]
jmp 0x612c9d
mov ebx, dword [esp + 0x88]
mov edx, dword [ebx + 0xc]
test edx, edx
jne 0x612c73
mov ecx, dword [esp + 0x54]
jmp 0x612c9d
mov eax, dword [edx]
mov dword [esp], ebx
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov ebp, dword [esp + 0x24]
mov dword [esp + 8], ebp
call eax
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov eax, ecx
mov ecx, ebx
mov ebx, dword [esp + 0x88]
test eax, eax
jne 0x612cc8
mov dword [esp], ebx
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
call fcn.00613ff0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x88]
movzx edx, byte [esp + 0x23]
lea ebp, [0x6d2562]
mov ebx, edx
mov edi, ecx
mov edx, dword [esp + 0x60]
mov ecx, eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x54], edi
mov byte [esp + 0x23], bl
mov esi, dword [esp + 0x80]
lea ebp, [esi + 1]
mov dword [esp + 0x80], ebp
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x70]
test edx, edx
je 0x612d3e
cmp ebx, ebp
jle 0x612d28
lea edi, [ebx - 1]
cmp edi, ebp
jne 0x612d35
cmp ebx, ebp
jbe 0x61324c
lea edx, [edx + esi*8 + 8]
mov edx, dword [edx + 4]
test edx, edx
jne 0x612d35
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x78], edx
jmp 0x612a29
mov edi, dword [esp + 0x54]
jmp 0x612a29
mov edx, dword [esp + 0x7c]
lea ebx, [edx + 1]
mov dword [esp + 0x78], ebx
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x64]
lea edi, [ebp - 1]
cmp edi, ebx
jne 0x612d6d
cmp ebp, ebx
jbe 0x613243
lea edx, [edx + esi + 1]
cmp byte [edx], 0x2e
jne 0x612d6d
mov dword [esp + 0x78], ebp
mov edi, dword [esp + 0x54]
jmp 0x612a29
test al, al
je 0x612da5
mov eax, dword [edx + 0x14]
test eax, eax
je 0x612da5
test ecx, ecx
jne 0x612da5
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
jmp 0x61311a
movzx eax, byte [esp + 0x94]
test al, al
je 0x612dd1
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
jmp 0x612f2c
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
test ebp, ebp
jne 0x612ded
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x68]
test al, al
jmp 0x612e38
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x3c], ecx
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
lea eax, [0x739f88]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.00479d00
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
movzx eax, byte [esp + 0x94]
test al, al
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x88]
mov ebx, dword [esp + 0x5c]
je 0x612eec
movzx eax, byte [edx + 4]
test al, al
je 0x612ee2
test ecx, ecx
je 0x612e5b
mov eax, esi
mov edx, ecx
mov edi, ebx
mov ecx, ebp
jmp 0x612ef4
test esi, esi
je 0x612e71
lea eax, [esi + ebp - 1]
cmp byte [eax], 0x2e
jne 0x612e6f
lea eax, [esi - 1]
test esi, esi
jmp 0x612e73
test esi, esi
mov eax, esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x44], ebp
je 0x612e84
cmp eax, 0xfd
jle 0x612ed8
lea eax, [0x6b8560]
mov dword [esp], eax
call fcn.0040bd30
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x28]
mov dword [edi + 4], eax
mov ecx, dword [0x8f52e0]
test ecx, ecx
jne 0x612eaf
mov ecx, dword [esp + 0x44]
mov dword [edi], ecx
jmp 0x612ec0
mov ecx, eax
mov eax, dword [esp + 0x44]
call fcn.004642e0
mov edx, eax
mov eax, ecx
mov ecx, edx
mov dword [edi + 0xc], 2
lea edx, [0x6d2562]
mov dword [edi + 8], edx
lea edx, [0x73c160]
jmp 0x612ef4
mov eax, esi
mov edx, ecx
mov edi, ebx
mov ecx, ebp
jmp 0x612ef4
mov eax, esi
mov edx, ecx
mov edi, ebx
mov ecx, ebp
jmp 0x612ef4
mov eax, esi
mov edx, ecx
mov edi, ebx
mov ecx, ebp
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], edi
add esp, 0x84
ret
movzx eax, byte [esp + 0x94]
lea ebp, [esp + 0x64]
mov ecx, edx
mov edx, dword [esp + 0x88]
mov esi, dword [esp + 0x78]
cmp dword [ebp + 4], esi
jle 0x612dd1
mov dword [esp + 0x58], ebx
mov dword [esp + 0x38], ecx
mov dword [esp], ebp
call fcn.00613c10
nop
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
xor edx, edx
jmp 0x6130db
lea edx, [0x6d2a13]
mov dword [esp], edx
mov dword [esp + 4], 4
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.00614da0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x38]
test ebp, ebp
je 0x612f95
mov edx, ebp
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x54], ebx
lea ebp, [esp + 0x64]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00613cf0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x54]
jmp 0x612fd3
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x88]
movzx esi, byte [ebp + 4]
xchg esi, eax
test al, al
xchg esi, eax
je 0x61304c
test edx, edx
jne 0x61304c
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x4c], eax
test ecx, ecx
je 0x612ff9
cmp ecx, 0x3f
jle 0x61304c
lea eax, [0x6b8560]
mov dword [esp], eax
call fcn.0040bd30
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x2c]
mov dword [edi + 4], eax
mov eax, dword [0x8f52e0]
test eax, eax
jne 0x613024
mov edx, dword [esp + 0x4c]
mov dword [edi], edx
jmp 0x61302d
mov eax, dword [esp + 0x4c]
call fcn.004642e0
mov dword [edi + 0xc], 2
lea ebp, [0x6d2562]
mov dword [edi + 8], ebp
mov ebp, dword [esp + 0x88]
lea edx, [0x73c160]
mov ebx, edi
mov esi, dword [esp + 0x80]
lea eax, [esi + 1]
mov dword [esp + 0x80], eax
mov edi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
test edi, edi
je 0x6130a3
cmp ecx, eax
jle 0x61308a
lea ebp, [ecx - 1]
cmp ebp, eax
jne 0x613097
cmp ecx, eax
jbe 0x6130f7
lea eax, [edi + esi*8 + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x613097
mov ebp, dword [esp + 0x88]
mov eax, dword [esp + 0x68]
mov dword [esp + 0x78], eax
jmp 0x612f17
mov ebp, dword [esp + 0x88]
jmp 0x612f17
mov esi, dword [esp + 0x7c]
lea eax, [esi + 1]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
lea ebp, [ecx - 1]
cmp ebp, eax
jne 0x6130ce
cmp ecx, eax
jbe 0x6130f2
lea eax, [esi + edi + 1]
cmp byte [eax], 0x2e
jne 0x6130ce
mov dword [esp + 0x78], ecx
mov ebp, dword [esp + 0x88]
jmp 0x612f17
inc edx
cmp edx, ecx
jge 0x612fcb
jae 0x6130fc
lea ebx, [edx + eax]
cmp byte [ebx], 0x80
jb 0x6130da
jmp 0x612f59
call fcn.00464360
call fcn.00464360
mov eax, edx
call fcn.00464360
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x88]
mov ebx, dword [esp + 0x54]
lea ebp, [esp + 0x64]
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x78]
cmp dword [ebp + 4], eax
jle 0x612da5
mov dword [esp], ebp
call fcn.00613c10
mov eax, dword [esp + 0x88]
mov edx, dword [eax + 0x14]
mov ecx, dword [edx]
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
mov dword [esp], ebx
mov dword [esp + 4], ebp
call ecx
movzx eax, byte [esp + 8]
test al, al
je 0x6131dd
mov edx, dword [esp + 0x80]
lea eax, [edx + 1]
mov dword [esp + 0x80], eax
mov ebx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
test ebx, ebx
je 0x6131a5
cmp ecx, eax
jle 0x613198
lea ebp, [ecx - 1]
cmp ebp, eax
jne 0x613103
cmp ecx, eax
jbe 0x61323e
lea eax, [ebx + edx*8 + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x613103
mov eax, dword [esp + 0x68]
mov dword [esp + 0x78], eax
jmp 0x613103
mov edx, dword [esp + 0x7c]
lea eax, [edx + 1]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0x64]
lea ebp, [ecx - 1]
cmp ebp, eax
jne 0x613103
cmp ecx, eax
jbe 0x613239
lea eax, [edx + ebx + 1]
cmp byte [eax], 0x2e
jne 0x613103
mov dword [esp + 0x78], ecx
jmp 0x613103
lea eax, [0x6b8560]
mov dword [esp], eax
call fcn.0040bd30
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x40]
mov dword [edi + 4], eax
mov eax, dword [0x8f52e0]
test eax, eax
jne 0x613208
mov eax, dword [esp + 0x60]
mov dword [edi], eax
jmp 0x613211
mov eax, dword [esp + 0x60]
call fcn.004642e0
mov dword [edi + 0xc], 1
lea eax, str.BCEFH
mov dword [edi + 8], eax
mov edx, dword [esp + 0x88]
lea ebp, [esp + 0x64]
lea ecx, [0x73c160]
mov ebx, edi
jmp 0x612da5
call fcn.00464360
call fcn.00464360
mov eax, ebx
mov ecx, ebp
call fcn.00464360
mov eax, ebp
mov ecx, ebx
call fcn.00464360
mov eax, 4
call fcn.004643c0
dec esi
mov ebx, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 1
add ebp, esi
mov esi, ebx
test esi, esi
je 0x61298b
cmp byte [ebp], 0x2e
je 0x61325f
jmp 0x61298b
call fcn.00462ed0
jmp fcn.00612900