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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x71eeeb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
push edi
lea ecx, [esp + 0x38]
call fcn.005b3190
xor esi, esi
lea ecx, [esp + 0x40]
mov dword [esp + 0x6c], esi
call fcn.005b3190
or edi, 0xffffffff
mov ebx, 1
push str.Name
lea ecx, [esp + 0x34]
mov byte [esp + 0x70], bl
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], edi
call fcn.005e5a90
mov eax, dword [0x7a3a28]
mov eax, dword [eax + 0xb8]
movzx esi, word [ebp + 8]
mov eax, dword [eax + 0x34]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x34]
push edx
push esi
mov ecx, eax
mov byte [esp + 0x78], 2
call fcn.00413660
neg eax
sbb al, al
inc al
lea ecx, [esp + 0x30]
mov byte [esp + 0x13], al
mov byte [esp + 0x6c], bl
call fcn.005e5c20
mov al, byte [esp + 0x13]
test al, al
je 0x55e23e
lea ecx, [esp + 0x40]
mov byte [esp + 0x6c], 0
call fcn.005e5c20
mov dword [esp + 0x6c], edi
jmp 0x55e90d
push str.SubTypeResRef
lea ecx, [esp + 0x34]
call fcn.005e5a90
mov eax, dword [0x7a3a28]
mov eax, dword [eax + 0xb8]
mov eax, dword [eax + 0x34]
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x34]
push edx
push esi
mov ecx, eax
mov byte [esp + 0x78], 3
call int.00413270
lea ecx, [esp + 0x30]
mov edi, eax
mov byte [esp + 0x6c], bl
call fcn.005e5c20
push str.CostTableResRef
lea ecx, [esp + 0x34]
call fcn.005e5a90
mov eax, dword [0x7a3a28]
mov eax, dword [eax + 0xb8]
mov eax, dword [eax + 0x34]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x34]
push edx
push esi
mov ecx, eax
mov byte [esp + 0x78], 4
call fcn.00413660
lea ecx, [esp + 0x30]
mov byte [esp + 0x6c], bl
call fcn.005e5c20
push str.Param1ResRef
lea ecx, [esp + 0x34]
call fcn.005e5a90
mov eax, dword [0x7a3a28]
mov eax, dword [eax + 0xb8]
mov eax, dword [eax + 0x34]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push edx
push esi
mov ecx, eax
mov byte [esp + 0x78], 5
call fcn.00413660
mov esi, eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], esi
mov byte [esp + 0x6c], bl
call fcn.005e5c20
mov eax, dword [0x7a39fc]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax + 4]
push edx
lea eax, [esp + 0x34]
push eax
call fcn.005edeb0
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x70], 6
call fcn.005e5c50
lea ecx, [esp + 0x30]
mov byte [esp + 0x6c], bl
call fcn.005e5c20
test edi, edi
jne 0x55e34d
test esi, esi
jne 0x55e34d
mov eax, dword [esp + 0x14]
test eax, eax
je 0x55e8dc
push 0x73e2a0
lea ecx, [esp + 0x34]
call fcn.005e5a90
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x40]
mov byte [esp + 0x74], 7
call fcn.005e5d10
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x70], 8
call fcn.005e5c50
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], 7
call fcn.005e5c20
lea ecx, [esp + 0x30]
mov byte [esp + 0x6c], bl
call fcn.005e5c20
test edi, edi
je 0x55e68e
push 0x54
call fcn.006fa7e6
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
test esi, esi
mov byte [esp + 0x6c], 9
je 0x55e3de
push 0
sub esp, 0x10
lea eax, [esp + 0x54]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.00406d60
mov ecx, esi
call fcn.00413cc0
mov edi, eax
jmp 0x55e3e0
xor edi, edi
mov ecx, edi
mov byte [esp + 0x6c], bl
call int.004143b0
test eax, eax
je 0x55e8f7
push str.Name
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], 0xffffffff
call fcn.005e5a90
movzx esi, word [ebp + 0xc]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x34]
push edx
push esi
mov ecx, edi
mov byte [esp + 0x78], 0xa
call fcn.00413660
lea ecx, [esp + 0x30]
mov byte [esp + 0x6c], bl
call fcn.005e5c20
push str.CostTableResRef
lea ecx, [esp + 0x34]
call fcn.005e5a90
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
push ecx
push esi
mov ecx, edi
mov byte [esp + 0x78], 0xb
call fcn.00413660
test eax, eax
je 0x55e466
mov eax, dword [esp + 0x18]
test eax, eax
mov byte [esp + 0x13], bl
jne 0x55e46b
mov byte [esp + 0x13], 0
lea ecx, [esp + 0x30]
mov byte [esp + 0x6c], bl
call fcn.005e5c20
mov al, byte [esp + 0x13]
test al, al
je 0x55e488
mov edx, dword [esp + 0x18]
mov dword [esp + 0x14], edx
push str.Param1ResRef
lea ecx, [esp + 0x34]
call fcn.005e5a90
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
push ecx
push esi
mov ecx, edi
mov byte [esp + 0x78], 0xc
call fcn.00413660
lea ecx, [esp + 0x30]
mov esi, eax
mov byte [esp + 0x6c], bl
call fcn.005e5c20
test esi, esi
je 0x55e4cc
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edx
test edi, edi
je 0x55e4d7
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax]
cmp word [ebp + 8], 0xb
jne 0x55e58a
mov ax, word [ebp + 0xc]
test ax, ax
je 0x55e4fa
cmp ax, bx
je 0x55e4fa
cmp ax, 2
jne 0x55e58a
push 0x73d5d8
lea ecx, [esp + 0x34]
call fcn.005e5a90
mov ecx, dword [0x7a39fc]
mov ecx, dword [ecx + 4]
push 0x9698
lea edx, [esp + 0x54]
push edx
mov byte [esp + 0x74], 0xd
call fcn.005edeb0
mov esi, eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x40]
mov byte [esp + 0x74], 0xe
call fcn.005e5d10
push esi
lea edx, [esp + 0x2c]
push edx
mov ecx, eax
mov byte [esp + 0x74], 0xf
call fcn.005e5d10
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x70], 0x10
call fcn.005e5c50
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], 0xf
call fcn.005e5c20
lea ecx, [esp + 0x48]
mov byte [esp + 0x6c], 0xe
call fcn.005e5c20
mov byte [esp + 0x6c], 0xd
lea ecx, [esp + 0x50]
jmp 0x55e614
push 0x73d5d8
lea ecx, [esp + 0x34]
call fcn.005e5a90
mov eax, dword [0x7a39fc]
mov edx, dword [esp + 0x24]
mov ecx, dword [eax + 4]
push edx
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x74], 0x11
call fcn.005edeb0
mov esi, eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x40]
mov byte [esp + 0x74], 0x12
call fcn.005e5d10
push esi
lea ecx, [esp + 0x54]
push ecx
mov ecx, eax
mov byte [esp + 0x74], 0x13
call fcn.005e5d10
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x70], 0x14
call fcn.005e5c50
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], 0x13
call fcn.005e5c20
lea ecx, [esp + 0x48]
mov byte [esp + 0x6c], 0x12
call fcn.005e5c20
mov byte [esp + 0x6c], 0x11
lea ecx, [esp + 0x28]
call fcn.005e5c20
lea ecx, [esp + 0x30]
mov byte [esp + 0x6c], bl
call fcn.005e5c20
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x55e63a
mov eax, dword [esp + 0x14]
test eax, eax
je 0x55e8dc
push 0x748668
lea ecx, [esp + 0x34]
call fcn.005e5a90
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x74], 0x15
call fcn.005e5d10
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x70], 0x16
call fcn.005e5c50
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], 0x15
call fcn.005e5c20
lea ecx, [esp + 0x30]
mov byte [esp + 0x6c], bl
call fcn.005e5c20
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x55e7e1
mov ecx, dword [0x7a3a28]
mov ecx, dword [ecx + 0xb8]
push eax
call fcn.005c49a0
push str.Name
lea ecx, [esp + 0x34]
mov edi, eax
mov dword [esp + 0x28], 0xffffffff
call fcn.005e5a90
movzx ecx, word [ebp + 0x10]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x34]
push eax
push ecx
mov ecx, edi
mov byte [esp + 0x78], 0x17
call fcn.00413660
lea ecx, [esp + 0x30]
mov byte [esp + 0x6c], bl
call fcn.005e5c20
push 0x73d5d8
lea ecx, [esp + 0x34]
call fcn.005e5a90
mov edx, dword [0x7a39fc]
mov eax, dword [esp + 0x24]
mov ecx, dword [edx + 4]
push eax
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x74], 0x18
call fcn.005edeb0
mov edi, eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x40]
mov byte [esp + 0x74], 0x19
call fcn.005e5d10
push edi
lea edx, [esp + 0x54]
push edx
mov ecx, eax
mov byte [esp + 0x74], 0x1a
call fcn.005e5d10
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x70], 0x1b
call fcn.005e5c50
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], 0x1a
call fcn.005e5c20
lea ecx, [esp + 0x48]
mov byte [esp + 0x6c], 0x19
call fcn.005e5c20
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], 0x18
call fcn.005e5c20
lea ecx, [esp + 0x30]
mov byte [esp + 0x6c], bl
call fcn.005e5c20
test esi, esi
je 0x55e8dc
push 0x748668
lea ecx, [esp + 0x34]
call fcn.005e5a90
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x40]
mov byte [esp + 0x74], 0x1c
call fcn.005e5d10
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x70], 0x1d
call fcn.005e5c50
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], 0x1c
call fcn.005e5c20
lea ecx, [esp + 0x30]
mov byte [esp + 0x6c], bl
call fcn.005e5c20
test esi, esi
je 0x55e8dc
mov edx, dword [0x7a3a28]
mov eax, dword [esp + 0x20]
mov ecx, dword [edx + 0xb8]
push eax
call fcn.005c4c00
push str.Name
lea ecx, [esp + 0x34]
mov edi, eax
mov dword [esp + 0x20], 0xffffffff
call fcn.005e5a90
movzx eax, byte [ebp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x34]
push edx
push eax
mov ecx, edi
mov byte [esp + 0x78], 0x1e
call fcn.00413660
lea ecx, [esp + 0x30]
mov byte [esp + 0x6c], bl
call fcn.005e5c20
push 0x73d5d8
lea ecx, [esp + 0x2c]
call fcn.005e5a90
mov edx, dword [esp + 0x1c]
mov ecx, dword [0x7a39fc]
mov ecx, dword [ecx + 4]
push edx
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0x74], 0x1f
call fcn.005edeb0
mov edi, eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x40]
mov byte [esp + 0x74], 0x20
call fcn.005e5d10
push edi
lea ecx, [esp + 0x54]
push ecx
mov ecx, eax
mov byte [esp + 0x74], 0x21
call fcn.005e5d10
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x70], 0x22
call fcn.005e5c50
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], 0x21
call fcn.005e5c20
lea ecx, [esp + 0x48]
mov byte [esp + 0x6c], 0x20
call fcn.005e5c20
lea ecx, [esp + 0x58]
mov byte [esp + 0x6c], 0x1f
call fcn.005e5c20
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], bl
call fcn.005e5c20
sub esp, 8
lea edx, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.005e5b00
mov ecx, dword [ebp + 0x18]
call fcn.004059a0
lea ecx, [esp + 0x40]
mov byte [esp + 0x6c], 0
call fcn.005e5c20
mov dword [esp + 0x6c], 0xffffffff
lea ecx, [esp + 0x38]
call fcn.005e5c20
mov ecx, dword [esp + 0x64]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14