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

Disassembly:
sub esp, 0x20
push esi
mov esi, ecx
cmp dword [esi + 0x78], 0
jne 0x549452
cmp dword [esi + 0x7c], 0
je 0x549469
call fcn.00544c30
movzx eax, ax
test eax, eax
je 0x549469
cmp eax, 0x5c
je 0x549472
dec dword [esi + 0x264]
xor eax, eax
pop esi
add esp, 0x20
ret 4
push ebp
mov ecx, esi
call fcn.00544c30
movzx eax, ax
movzx ecx, ax
add ecx, 0xffffffc0
mov ebp, 1
cmp ecx, 0x39
ja case.default.0x549499
movzx ecx, byte [ecx + 0x549be0]
push edi
jmp dword [ecx*4 + 0x549bac]
mov ecx, esi
call fcn.00544c30
movzx edi, ax
movzx eax, di
cmp eax, 0x73
ja case.0x5494bd.1
movzx edx, byte [eax + 0x549c30]
jmp dword [edx*4 + 0x549c1c]
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.00544c80
test eax, eax
jle 0x5494f9
add dword [esi + 0x264], eax
cmp dword [esi + 0x78], 0
je case.0x549499.76
mov ecx, dword [esp + 0x30]
pop edi
mov eax, ebp
pop ebp
mov dword [esi + 0x278], ecx
pop esi
add esp, 0x20
ret 4
cmp dword [esi + 0x78], 0
je 0x549508
mov edx, dword [esi + 0x2c]
mov dword [esi + 0x278], edx
mov ecx, esi
call fcn.00544c30
cmp ax, 0x3b
jmp 0x549825
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.00544c80
test eax, eax
jle 0x54954d
add dword [esi + 0x264], eax
cmp dword [esi + 0x78], 0
je case.0x549499.76
mov ecx, dword [esp + 0x30]
pop edi
mov eax, ebp
pop ebp
mov dword [esi + 0x274], ecx
pop esi
add esp, 0x20
ret 4
cmp dword [esi + 0x78], 0
je 0x549821
mov edx, dword [esi + 0x28]
mov dword [esi + 0x274], edx
jmp 0x549821
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.00544c80
test eax, eax
jle 0x54959a
add dword [esi + 0x264], eax
cmp dword [esi + 0x78], 0
je case.0x549499.76
mov ecx, dword [esp + 0x30]
pop edi
mov eax, ebp
pop ebp
mov dword [esi + 0x29c], ecx
pop esi
add esp, 0x20
ret 4
cmp dword [esi + 0x78], 0
je 0x549821
mov edx, dword [esi + 0x24]
mov dword [esi + 0x29c], edx
jmp 0x549821
cmp dword [esi + 0x78], 0
je case.0x549499.76
mov eax, dword [esi + 0x29c]
mov dword [esi + 0x270], eax
pop edi
mov eax, ebp
pop ebp
pop esi
add esp, 0x20
ret 4
dec dword [esi + 0x264]
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.00544c80
test eax, eax
jle 0x54960e
add dword [esi + 0x264], eax
cmp dword [esi + 0x78], 0
je case.0x549499.76
mov edx, dword [esp + 0x30]
pop edi
mov eax, ebp
pop ebp
mov dword [esi + 0x270], edx
pop esi
add esp, 0x20
ret 4
cmp dword [esi + 0x78], 0
je 0x549821
mov eax, dword [esi + 0x29c]
mov dword [esi + 0x270], eax
jmp 0x549821
mov ecx, esi
call fcn.00544c30
movzx edi, ax
movzx eax, di
add eax, 0xffffffd5
cmp eax, 0x48
ja case.0x549649.44
movzx ecx, byte [eax + 0x549cc0]
jmp dword [ecx*4 + 0x549ca4]
lea edx, [esp + 0x30]
push edx
mov ecx, esi
call fcn.00544c80
test eax, eax
jle 0x549685
add dword [esi + 0x264], eax
cmp dword [esi + 0x78], 0
je case.0x549499.76
mov eax, dword [esp + 0x30]
mov dword [esi + 0x26c], eax
pop edi
mov eax, ebp
pop ebp
pop esi
add esp, 0x20
ret 4
cmp dword [esi + 0x78], 0
je 0x549694
mov ecx, dword [esi + 0x4c]
mov dword [esi + 0x26c], ecx
mov ecx, esi
call fcn.00544c30
cmp ax, 0x3b
jmp 0x549825
mov ecx, esi
call fcn.00544c30
movzx eax, ax
cmp ax, 0x73
je 0x5496ce
cmp ax, 0x53
je 0x5496ce
mov edx, dword [esi + 0x34]
mov ecx, dword [esi + 0x48]
mov dword [esi + 0x268], edx
mov dword [esi + 0x26c], ecx
jmp 0x549728
mov edx, dword [esi + 0x30]
mov eax, dword [esi + 0x44]
mov dword [esi + 0x268], edx
mov dword [esi + 0x26c], eax
jmp 0x54971e
mov ecx, esi
call fcn.00544c30
movzx eax, ax
cmp ax, 0x6c
je 0x54970c
cmp ax, 0x4c
je 0x54970c
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x50]
mov dword [esi + 0x268], ecx
mov dword [esi + 0x26c], edx
jmp 0x549728
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x54]
mov dword [esi + 0x268], eax
mov dword [esi + 0x26c], ecx
mov ecx, esi
call fcn.00544c30
movzx eax, ax
cmp ax, 0x3b
je case.0x549499.76
test ax, ax
je case.0x549499.76
dec dword [esi + 0x264]
pop edi
mov eax, ebp
pop ebp
pop esi
add esp, 0x20
ret 4
mov eax, dword [esi + 0x4c]
mov edx, dword [esi + 0x38]
mov dword [esi + 0x26c], eax
pop edi
mov eax, ebp
pop ebp
mov dword [esi + 0x268], edx
pop esi
add esp, 0x20
ret 4
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.00544c80
test eax, eax
jle 0x549812
add dword [esi + 0x264], eax
cmp dword [esi + 0x78], 0
je case.0x549499.76
mov edx, dword [esp + 0x30]
add dword [esi + 0x268], edx
pop edi
mov eax, ebp
pop ebp
pop esi
add esp, 0x20
ret 4
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.00544c80
test eax, eax
jle 0x549812
add dword [esi + 0x264], eax
cmp dword [esi + 0x78], 0
je case.0x549499.76
mov edx, dword [esp + 0x30]
sub dword [esi + 0x268], edx
pop edi
mov eax, ebp
pop ebp
pop esi
add esp, 0x20
ret 4
dec dword [esi + 0x264]
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.00544c80
test eax, eax
jle 0x549812
add dword [esi + 0x264], eax
cmp dword [esi + 0x78], 0
je case.0x549499.76
mov edx, dword [esp + 0x30]
pop edi
mov eax, ebp
pop ebp
mov dword [esi + 0x268], edx
pop esi
add esp, 0x20
ret 4
cmp dword [esi + 0x78], 0
je 0x549821
mov eax, dword [esi + 0x38]
mov dword [esi + 0x268], eax
cmp di, 0x3b
jne case.0x549499.76
add dword [esi + 0x264], ebp
pop edi
mov eax, ebp
pop ebp
pop esi
add esp, 0x20
ret 4
cmp dword [esi + 0x78], 0
je case.0x549499.76
push 0
push 0
push 0
push 0
mov ecx, esi
call fcn.00549020
pop edi
mov eax, ebp
pop ebp
pop esi
add esp, 0x20
ret 4
cmp dword [esi + 0x78], 0
je case.0x549499.76
push 0
push 0
push 0
push 7
mov ecx, esi
call fcn.00549020
pop edi
mov eax, ebp
pop ebp
pop esi
add esp, 0x20
ret 4
mov ecx, esi
call fcn.00544c30
movzx eax, ax
add eax, 0xffffffba
cmp eax, 0x2c
ja case.0x54989d.71
movzx ecx, byte [eax + 0x549d18]
jmp dword [ecx*4 + 0x549d0c]
cmp dword [esi + 0x78], 0
je case.0x549499.76
push 0
push 0
push 0
push 9
mov ecx, esi
mov dword [esi + 0x27c], 0
call fcn.00549020
pop edi
mov eax, ebp
pop ebp
pop esi
add esp, 0x20
ret 4
lea edx, [esp + 0x30]
push edx
mov ecx, esi
call fcn.00544c80
test eax, eax
jle case.0x549499.76
add dword [esi + 0x264], eax
cmp dword [esi + 0x78], 0
je case.0x549499.76
mov eax, dword [esp + 0x30]
add dword [esi + 0x27c], eax
pop edi
mov eax, ebp
pop ebp
pop esi
add esp, 0x20
ret 4
dec dword [esi + 0x264]
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.00544c80
test eax, eax
jle case.0x549499.76
add dword [esi + 0x264], eax
mov edx, dword [0x8211a4]
mov ecx, dword [edx + 0x650c]
test ecx, ecx
jle case.0x549499.76
cmp dword [esi + 0x78], 0
je case.0x549499.76
mov eax, dword [esi + 0x88]
imul eax, dword [esp + 0x30]
lea eax, [eax + eax*4]
add eax, eax
xor edx, edx
div ecx
pop edi
mov dword [esi + 0x27c], eax
mov eax, ebp
pop ebp
pop esi
add esp, 0x20
ret 4
mov ecx, esi
mov edi, ebp
call fcn.00544c30
movzx eax, ax
add eax, 0xffffffbd
cmp eax, 0x2f
ja case.0x549989.68
movzx eax, byte [eax + 0x549d58]
jmp dword [eax*4 + 0x549d48]
mov edi, 2
jmp case.0x549989.76
mov edi, 3
jmp case.0x549989.76
dec dword [esi + 0x264]
cmp dword [esi + 0x78], 0
je case.0x549499.76
push 0
push 0
push 0
push edi
mov ecx, esi
call fcn.00549020
pop edi
mov eax, ebp
pop ebp
pop esi
add esp, 0x20
ret 4
mov ecx, dword [esp + 0x30]
push 0
push 0
push ecx
push eax
mov ecx, esi
call fcn.00549020
pop edi
mov eax, ebp
pop ebp
pop esi
add esp, 0x20
ret 4
lea edx, [esp + 0x30]
push edx
mov ecx, esi
call fcn.00544c80
test eax, eax
jle case.0x549499.76
add dword [esi + 0x264], eax
cmp dword [esi + 0x78], 0
je case.0x549499.76
mov eax, dword [esp + 0x30]
push 0
push 0
push eax
push 4
mov ecx, esi
call fcn.00549020
pop edi
mov eax, ebp
pop ebp
pop esi
add esp, 0x20
ret 4
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.00544c80
test eax, eax
jle case.0x549499.76
add dword [esi + 0x264], eax
cmp dword [esi + 0x78], 0
je case.0x549499.76
mov edx, dword [esp + 0x30]
push 0
push edx
push 0
push 5
mov ecx, esi
call fcn.00549020
pop edi
mov eax, ebp
pop ebp
pop esi
add esp, 0x20
ret 4
mov ecx, esi
call fcn.00544c30
movzx eax, ax
movzx ecx, ax
cmp ecx, 0x44
je 0x549aab
cmp ecx, 0x64
je 0x549aab
test ax, ax
je 0x549a87
dec dword [esi + 0x264]
cmp dword [esi + 0x78], 0
je case.0x549499.76
push 0
push 0
push 0
push 6
mov ecx, esi
call fcn.00549020
pop edi
mov eax, ebp
pop ebp
pop esi
add esp, 0x20
ret 4
lea eax, [esp + 0x30]
push eax
mov ecx, esi
mov dword [esp + 0x34], 0
mov dword [esp + 0x10], 0
call fcn.00544c80
test eax, eax
jle 0x549afc
add dword [esi + 0x264], eax
mov ecx, esi
call fcn.00544c30
cmp ax, 0x3a
jne 0x549af6
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.00544c80
test eax, eax
jle 0x549afc
add dword [esi + 0x264], eax
jmp 0x549afc
dec dword [esi + 0x264]
mov edx, dword [esi + 0x2c0]
mov eax, dword [esi + 0x2a8]
add esi, 0x2a8
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x18], edx
lea edx, [esp + 0x34]
mov dword [esp + 0x14], eax
push edx
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.00522270
mov ecx, eax
call fcn.004c1270
test al, al
je case.0x549499.76
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x10], ecx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
mov dword [esp + 0x1c], edx
call fcn.00522cd0
pop edi
mov eax, ebp
pop ebp
pop esi
add esp, 0x20
ret 4
push 0
push 0
push 0
push 0x8140
mov ecx, esi
call fcn.00549020
push 0
push 0
push 0
push 0
mov ecx, esi
call fcn.00549020
pop edi
mov eax, ebp
pop ebp
pop esi
add esp, 0x20
ret 4
push 0
push 0
push 0
push 8
mov ecx, esi
call fcn.00549020
pop edi
mov eax, ebp
pop ebp
pop esi
add esp, 0x20
ret 4