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

Disassembly:
mov edx, dword [esp + 4]
push ebp
push edi
push esi
push ebx
sub esp, 0x34
mov ebp, edx
mov edx, dword [ebp + 0x7c]
mov ebx, dword [ebp + 0x78]
cmp dword [ebp + 0x8c], ebx
ja 0x30618bfe
shr edx, 2
inc edx
mov edi, dword [ebp + 0x90]
mov dword [esp + 0x30], edx
mov eax, dword [ebp + 0x74]
cmp eax, edi
jae 0x30618c12
mov edi, eax
mov dword [esp + 0x28], ebx
mov esi, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x6c]
mov dword [esp + 0x24], esi
mov dword [esp + 0x10], edi
add esi, ecx
mov dword [esp + 0xc], esi
mov dx, word [esi]
mov bx, word [ebx + esi - 1]
add esi, 0x101
mov word [esp + 0x1c], dx
mov dword [esp], esi
mov esi, dword [ebp + 0x2c]
sub esi, 0x106
sub ecx, esi
ja 0x30618c4f
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov edx, dword [ebp + 0x40]
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 0x70]
mov bp, word [esp + 0x1c]
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x24]
mov edi, edx
add edi, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
dec edi
mov dword [esp + 8], edi
jmp 0x30618ccd
add dword [esp + 0x30], 0x10
je 0x3061905c
cmp word [eax + edi], bx
je 0x30618cad
and eax, 0x7fff
mov ax, word [esi + eax*2]
cmp ecx, eax
jae 0x3061905c
dec dword [esp + 0x30]
jne 0x30618c8b
jmp 0x3061905c
cmp bp, word [eax + edx]
jne 0x30618c91
jmp 0x30618f9b
mov edi, dword [esp + 8]
and eax, 0x7fff
mov ax, word [esi + eax*2]
cmp ecx, eax
jae 0x3061905c
sub dword [esp + 0x30], 0x11
jbe 0x30618c80
cmp word [eax + edi], bx
je 0x30618f8a
and eax, 0x7fff
mov ax, word [esi + eax*2]
cmp ecx, eax
jae 0x3061905c
cmp word [eax + edi], bx
je 0x30618f79
and eax, 0x7fff
mov ax, word [esi + eax*2]
cmp ecx, eax
jae 0x3061905c
cmp word [eax + edi], bx
je 0x30618f68
and eax, 0x7fff
mov ax, word [esi + eax*2]
cmp ecx, eax
jae 0x3061905c
cmp word [eax + edi], bx
je 0x30618f57
and eax, 0x7fff
mov ax, word [esi + eax*2]
cmp ecx, eax
jae 0x3061905c
cmp word [eax + edi], bx
je 0x30618f46
and eax, 0x7fff
mov ax, word [esi + eax*2]
cmp ecx, eax
jae 0x3061905c
cmp word [eax + edi], bx
je 0x30618f35
and eax, 0x7fff
mov ax, word [esi + eax*2]
cmp ecx, eax
jae 0x3061905c
cmp word [eax + edi], bx
je 0x30618f24
and eax, 0x7fff
mov ax, word [esi + eax*2]
cmp ecx, eax
jae 0x3061905c
cmp word [eax + edi], bx
je 0x30618f10
and eax, 0x7fff
mov ax, word [esi + eax*2]
cmp ecx, eax
jae 0x3061905c
cmp word [eax + edi], bx
je 0x30618efc
and eax, 0x7fff
mov ax, word [esi + eax*2]
cmp ecx, eax
jae 0x3061905c
cmp word [eax + edi], bx
je 0x30618ee8
and eax, 0x7fff
mov ax, word [esi + eax*2]
cmp ecx, eax
jae 0x3061905c
cmp word [eax + edi], bx
je 0x30618ed4
and eax, 0x7fff
mov ax, word [esi + eax*2]
cmp ecx, eax
jae 0x3061905c
cmp word [eax + edi], bx
je 0x30618e80
and eax, 0x7fff
mov ax, word [esi + eax*2]
cmp ecx, eax
jae 0x3061905c
cmp word [eax + edi], bx
je 0x30618e94
and eax, 0x7fff
mov ax, word [esi + eax*2]
cmp ecx, eax
jae 0x3061905c
cmp word [eax + edi], bx
je 0x30618ea4
and eax, 0x7fff
mov ax, word [esi + eax*2]
cmp ecx, eax
jae 0x3061905c
cmp word [eax + edi], bx
je 0x30618eb4
and eax, 0x7fff
mov ax, word [esi + eax*2]
cmp ecx, eax
jae 0x3061905c
cmp word [eax + edi], bx
je 0x30618ec4
and eax, 0x7fff
mov ax, word [esi + eax*2]
cmp ecx, eax
jae 0x3061905c
sub dword [esp + 0x30], 0x10
ja 0x30618cd4
jmp 0x30618c80
cmp bp, word [eax + edx]
jne 0x30618e03
add dword [esp + 0x30], 5
jmp 0x30618fa9
cmp bp, word [eax + edx]
jne 0x30618e1a
add dword [esp + 0x30], 4
jmp 0x30618fa9
cmp bp, word [eax + edx]
jne 0x30618e31
add dword [esp + 0x30], 3
jmp 0x30618fa9
cmp bp, word [eax + edx]
jne 0x30618e48
add dword [esp + 0x30], 2
jmp 0x30618fa9
cmp bp, word [eax + edx]
jne 0x30618e5f
add dword [esp + 0x30], 1
jmp 0x30618fa9
cmp bp, word [eax + edx]
jne 0x30618dec
add dword [esp + 0x30], 6
jmp 0x30618fa9
cmp bp, word [eax + edx]
jne 0x30618dd1
add dword [esp + 0x30], 7
jmp 0x30618fa9
cmp bp, word [eax + edx]
jne 0x30618db6
add dword [esp + 0x30], 8
jmp 0x30618fa9
cmp bp, word [eax + edx]
jne 0x30618d9b
add dword [esp + 0x30], 9
jmp 0x30618fa9
cmp bp, word [eax + edx]
jne 0x30618d80
add dword [esp + 0x30], 0xa
jmp 0x30618fa9
cmp bp, word [eax + edx]
jne 0x30618d65
add dword [esp + 0x30], 0xb
jmp 0x30618fa9
cmp bp, word [eax + edx]
jne 0x30618d4a
add dword [esp + 0x30], 0xc
jmp 0x30618fa9
cmp bp, word [eax + edx]
jne 0x30618d2f
add dword [esp + 0x30], 0xd
jmp 0x30618fa9
cmp bp, word [eax + edx]
jne 0x30618d14
add dword [esp + 0x30], 0xe
jmp 0x30618fa9
cmp bp, word [eax + edx]
jne 0x30618cf9
add dword [esp + 0x30], 0xf
jmp 0x30618fa9
cmp bp, word [eax + edx]
jne 0x30618cde
add dword [esp + 0x30], 0x10
jmp 0x30618fa9
mov edi, dword [esp + 0x24]
cmp bp, word [eax + edi]
jne 0x30618cb8
mov edi, edx
mov esi, dword [esp + 0xc]
add edi, eax
mov edx, dword [esi + 3]
xor edx, dword [edi + 3]
je 0x30618fe6
or dl, dl
je 0x30618fc4
mov esi, 3
jmp 0x30619015
or dx, dx
je 0x30618fd0
mov esi, 4
jmp 0x30619015
and edx, 0xffffff
je 0x30618fdf
mov esi, 5
jmp 0x30619015
mov esi, 6
jmp 0x30619015
add edi, 6
add esi, 6
mov ecx, 0x3f
repe cmpsd dword [esi], dword es:[edi]
je 0x30619011
sub esi, 4
mov edx, dword [edi - 4]
xor edx, dword [esi]
or dl, dl
jne 0x30619011
inc esi
or dx, dx
jne 0x30619011
inc esi
and edx, 0xffffff
jne 0x30619011
inc esi
sub esi, dword [esp + 0xc]
cmp esi, dword [esp + 0x28]
ja 0x3061902c
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
jmp 0x30618cb8
mov dword [esp + 0x28], esi
mov dword [esp + 4], eax
cmp esi, dword [esp + 0x10]
jae 0x3061905c
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x24]
add ecx, esi
add esi, edx
dec esi
mov dword [esp + 8], esi
mov bx, word [ecx - 1]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
jmp 0x30618cb8
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 0x48]
mov ecx, dword [esp + 0x28]
mov dword [ebp + 0x70], ebx
mov eax, dword [ebp + 0x74]
cmp ecx, eax
ja 0x30619074
mov eax, ecx
add esp, 0x34
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dword [0x3062003c], 0
je 0x3061931e
jmp fcn.306190ff
mov eax, dword [esp + 4]
cmp dword [eax + 0x34], 0x7fff
je 0x30619334
mov dword [esp + 4], eax
jmp fcn.306190ff
mov dword [esp + 4], eax
jmp 0x30618be0